diff --git a/base.mk b/base.mk index 8af2429..50cfa4f 100644 --- a/base.mk +++ b/base.mk @@ -232,3 +232,7 @@ PRODUCT_COPY_FILES += \ frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:system/etc/a2dp_audio_policy_configuration.xml \ include build/make/target/product/gsi_release.mk + +# Protect deskclock from power save +PRODUCT_COPY_FILES += \ + device/phh/treble/files/com.android.deskclock_whitelist.xml:system/etc/sysconfig/com.android.deskclock_whitelist.xml diff --git a/files/com.android.deskclock_whitelist.xml b/files/com.android.deskclock_whitelist.xml new file mode 100644 index 0000000..da2015f --- /dev/null +++ b/files/com.android.deskclock_whitelist.xml @@ -0,0 +1,19 @@ + + + + +