device_xiaomi_sm6150-common/parts
Arian 472e0182dc
davinci: parts: Restore the LED's previous state after popup
* We are using the left led as notification LED and hence it
  could be breathing or shining while we open or close the
  camera. So we don't just set it's brightness to 0 but read
  and store the state of the LED before enabling it and
  restoring that afterwards.

* To ensure that the left LED is shining while the camera
  opens or closes we set it's breathing effect to 0 before
  enabling the LEDs.

Change-Id: Ibdfbff3072398bc77ec3257b60622cfc50e8d857
2020-12-17 23:30:59 +01:00
..
res davinci: parts: Allow to wake the screen instead of pulsing 2020-11-28 18:12:03 +01:00
src/org/lineageos/settings davinci: parts: Restore the LED's previous state after popup 2020-12-17 23:30:59 +01:00
Android.mk davinci: Initial popup camera impl 2020-08-05 14:03:31 +02:00
AndroidManifest.xml davinci: parts: Implement popup motor calibration 2020-11-28 18:12:03 +01:00
proguard.flags davinci: Initial popup camera impl 2020-08-05 14:03:31 +02:00