commit | 2c1be789c5c6001ecc1857ed4d8299e8ea2bc194 | [log] [tgz] |
---|---|---|
author | Ezio Lacandia Bijelkic <brabus84@gmail.com> | Sun Jan 27 09:21:08 2019 +0000 |
committer | rohan <purohit.rohan@gmail.com> | Fri May 01 08:41:12 2020 -0400 |
tree | e75a4672ed0f78beaa6499b83c79ae6c562bd83b | |
parent | 87abafb129d21d3ddc06c7462cbfdfb7d962e25b [diff] |
vendor: Build CustomDoze for all devices Now that we have AoD option too, there's no reason to not ship custom doze magic to all devices NB: needs our CustomDoze tree, within: - https://github.com/DirtyUnicorns/android_frameworks_base/commit/e1a6a61e7ba918e4c6b891029d6cd603a575aae1 - https://github.com/DirtyUnicorns/android_packages_apps_Settings/commit/bfca97f7395c1ef79dc837ed916a44f98a5acbac - https://github.com/DirtyUnicorns/android_packages_apps_Settings/commit/6ffa7b811c130f77bf71273f72118d048d8075a8 and: <!-- Doze: does this device support STATE_DOZE and STATE_DOZE_SUSPEND? --> <bool name="doze_display_state_supported">true</bool> (nowaday doze works fine on all modern devices). Be sure to remove any specific device custom doze package. PS: to have Ambient brightness changer feature in CustomDoze, be sure to have this too: https://github.com/DirtyUnicorns/android_vendor_du/commit/606a3f3d250b3a344bce2cd9b99aff145bb9d4b1 Change-Id: I5e7c9a72d29709cca5c1f109eac1e9239507b4ae
diff --git a/config/bliss_packages.mk b/config/bliss_packages.mk index 70a2d56..4f95dba 100644 --- a/config/bliss_packages.mk +++ b/config/bliss_packages.mk
@@ -55,6 +55,7 @@ # Bliss Packages PRODUCT_PACKAGES += \ + CustomDoze \ LatinIME \ DeskClock \ ThemePicker \
diff --git a/overlay/common/frameworks/base/core/res/res/values/config.xml b/overlay/common/frameworks/base/core/res/res/values/config.xml index b080546..a56f122 100644 --- a/overlay/common/frameworks/base/core/res/res/values/config.xml +++ b/overlay/common/frameworks/base/core/res/res/values/config.xml
@@ -242,4 +242,8 @@ * The device must be provisioned with HDCP keys (for protected content). --> <bool name="config_enableWifiDisplay">true</bool> + + <!-- Whether device supports an alt. ambient display --> + <bool name="config_alt_ambient_display">true</bool> + </resources>