diff --git a/common.mk b/common.mk index df2d84a..d315638 100644 --- a/common.mk +++ b/common.mk @@ -165,7 +165,8 @@ PRODUCT_PACKAGES += \ vendor.qti.hardware.display.mapper@2.0.vendor \ vendor.qti.hardware.display.mapper@3.0.vendor \ vendor.qti.hardware.display.mapper@4.0.vendor \ - vendor.display.config@2.0.vendor + vendor.display.config@2.0.vendor \ + AdvancedDisplay # Doze PRODUCT_PACKAGES += \ diff --git a/overlay/hardware/samsung/AdvancedDisplay/res/values/arrays.xml b/overlay/hardware/samsung/AdvancedDisplay/res/values/arrays.xml new file mode 100644 index 0000000..eb36387 --- /dev/null +++ b/overlay/hardware/samsung/AdvancedDisplay/res/values/arrays.xml @@ -0,0 +1,48 @@ + + + + + LineageOS (default) + Video + Video warm + Video cold + Camera + Navigation + Gallery + Video call + Browser + eBook + E-mail + Digital television + + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 16 + + diff --git a/sepolicy/vendor/system_app.te b/sepolicy/vendor/system_app.te index be81216..9b4e2bd 100644 --- a/sepolicy/vendor/system_app.te +++ b/sepolicy/vendor/system_app.te @@ -6,3 +6,7 @@ allow system_app sysfs_zram:file { read open getattr }; binder_call(system_app, hal_power_default) binder_call(system_app, hal_vibrator_default) + +# MDNIE +allow system_app sysfs_mdnie_writable:dir search; +allow system_app sysfs_mdnie_writable:file { open write getattr };