phhusson / vendor_hardware_overlay

This includes hardware-specific overlays for Treble ROM
117 stars 579 forks source link

Night Light not working - Huawei Y9 2019(JKM-LX1) #418

Closed SilverCrow33 closed 2 years ago

SilverCrow33 commented 3 years ago

I created an overlay for Huawei Y9 2019 Model JKM, auto-Brightness is working but i have lost Night Light feature. The option is showing as Ambient Display(LiveDisplay) and none of the available options(auto, on, off) in Ambient Display(LiveDisplay) that i select works. I just want to fix this bug as everything else is working fine.

I extracted the framework-res.apk from my stock android 9.0 rom.

SilverCrow33 commented 2 years ago

Issue Solved.

phhusson commented 2 years ago

how?

Le sam. 8 janv. 2022 à 07:43, SilverCrow33 @.***> a écrit :

Issue Solved.

— Reply to this email directly, view it on GitHub https://github.com/phhusson/vendor_hardware_overlay/issues/418#issuecomment-1007897218, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OQ6TX2L6NMDFWOIUZTUU7MKLANCNFSM5I5GKDQQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

SilverCrow33 commented 2 years ago

In my stock framework-res.apk "config_setColorTransformAccelerated" was set on false:

<item type="bool" name="config_nightDisplayAvailable">@bool/config_setColorTransformAccelerated</item> <bool name="config_setColorTransformAccelerated">false</bool>

when I looked into your NightMode overlay I saw that it should be true and just changed this part and night light was working.