Merge pull request #1 from guylamar2006/patch-1

Update 0029-Support-new-samsung-light-hal.patch
This commit is contained in:
Andy Yan 2019-10-22 10:05:27 +08:00 committed by GitHub
commit d690790828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ index 01ddecaeff5..f42c49afaa6 100644
colorAlpha = (colorAlpha * brightnessLevel) / 0xFF;
colorARGB = (colorAlpha << 24) + (colorARGB & 0x00FFFFFF);
+ }
+
+
+ sp<ISecLight> secHal = LightHal::getSecLight();
+
+ if(secHal != nullptr) {