laurel_sprout: light: Avoid resetting state

The handler function is called regardless of whether the value of the
highest priority state changed.
In case of the notification led, this translates to the breathing
process being reset, which triggers my OCD.

Change-Id: I4880b00602cbb739219871f1d7ce9ad85d87bc1b
1 file changed
tree: 4e399e3add1ce6bd58c77767fb46e0782cd70234
  1. bluetooth/
  2. configs/
  3. gps/
  4. light/
  5. overlay/
  6. rootdir/
  7. Android.mk
  8. BoardConfig.mk
  9. device.mk
  10. product.prop
  11. README.md
  12. vendor_prop.mk
README.md

Copyright (C) 2020 Paranoid Android

Device Tree for Mi A3 (laurel_sprout)

The Mi A3 (codenamed "laurel_sprout") is a mid-range smartphone from Xiaomi. It was announced and released in July 2019.

Device specifications

FeatureSpecification
ChipsetQualcomm SM6125 Snapdragon 665 (11 nm)
CPUOcta-core (4x2.0 GHz Kryo 260 Gold & 4x1.8 GHz Kryo 260 Silver)
GPUAdreno 610
Memory4/6 GB
Shipped Android Version9.0
Storage64/128 GB UFS 2.1
SIMHybrid Dual SIM (Nano-SIM, dual stand-by)
MicroSDUp to 256 GB
Battery4030 mAh Li-Po (non-removable)
Dimensions153.5 x 71.9 x 8.5 mm
Display6.09 inch, 720 x 1560 (19.5:9 ratio)
Rear Camera 148 MP, f/1.8, 26mm (wide), 1/2.0", 0.8µm, PDAF
Rear Camera 28 MP, f/2.2, 13mm (ultrawide), 1/4.0", 1.12µm
Rear Camera 32 MP, f/2.4, (depth)
Front Camera32 MP, f/2.0, 26mm (wide), 1/2.8", 0.8µm
FingerprintUnder display, optical
SensorsAccelerometer, Gyro, Proximity, Compass

Device picture

Mi A3