diff options
| author | Bruno Martins <bgcngm@gmail.com> | 2019-08-02 09:33:37 +0100 |
|---|---|---|
| committer | Bruno Martins <bgcngm@gmail.com> | 2019-08-02 11:26:32 +0200 |
| commit | e96c2635881ff4d2e45329ffeeec4ac3c0472b03 (patch) | |
| tree | f3fc386b08d9e353dfaac5703719c704948e88ee | |
| parent | ca41e1586b6e950035b77f25aaab6b5aa05bafa6 (diff) | |
polaris: Kill Xiaomi's display feature
* This damn HAL was breaking night light and who knows what else.
* Remove all its related props as those are useless without
the service running.
Change-Id: Ia1a9ba58e74129bc1cac0f0a0fe863d3057750e2
| -rw-r--r-- | device-props.mk | 7 | ||||
| -rw-r--r-- | rootdir/etc/init.target.rc | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/device-props.mk b/device-props.mk index b68dcde..540997b 100644 --- a/device-props.mk +++ b/device-props.mk @@ -9,13 +9,6 @@ PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \ ro.sf.lcd_density=440 -# Display features -PRODUCT_PROPERTY_OVERRIDES += \ - ro.displayfeature.histogram.enable=true \ - ro.eyecare.brightness.threshold=15 \ - ro.eyecare.brightness.level=8 \ - ro.whitepoint_calibration_enable=false - # Fingerprint PRODUCT_PROPERTY_OVERRIDES += \ ro.hardware.fp.fpc=true \ diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index 2c49b16..d7e28bc 100644 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -30,3 +30,11 @@ on fs chmod 644 /mnt/vendor/persist/audio/us_manual_cal chmod 644 /persist/audio/us_manual_cal + +service displayfeature-hal-1-0 /vendor/bin/hw/vendor.xiaomi.hardware.displayfeature@1.0-service + override + class hal + user system + group system graphics + onrestart restart displayfeature + disabled |
