commit | b0457caa5ff5734b1b4f7e0ecae878ee152bbc29 | [log] [tgz] |
---|---|---|
author | Jesse Chan <jc@lineageos.org> | Mon May 18 14:14:56 2020 +0800 |
committer | rohan <purohit.rohan@gmail.com> | Mon May 25 02:14:43 2020 -0400 |
tree | a4822a4f4ed684ae1f346509b4075e040f1567d7 | |
parent | 5bd572ad5ac99ac237d3d5381193ce2bbfba96d7 [diff] |
Dialer: allow framework to do dark theming automatically Change-Id: I5b840ba257adda69882e1fe19a55510802c45106 Signed-off-by: Jesse Chan <jc@lineageos.org>
diff --git a/java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml b/java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml index 6c1aac5..50bfe37 100644 --- a/java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml +++ b/java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml
@@ -38,6 +38,7 @@ <!-- Activities and Applications should inherit from one of the themes above. --> <style name="Dialer.ThemeBase"> + <item name="android:forceDarkAllowed">true</item> <!-- These values should be used to color all backgrounds. --> <item name="android:colorBackground">@color/dialer_background_color</item> <item name="android:colorBackgroundFloating">@android:color/white</item>