summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorJesse Chan <jc@lineageos.org>2020-05-18 14:14:56 +0800
committerMichael Bestas <mkbestas@lineageos.org>2020-12-12 01:23:35 +0200
commit97cca091f467918df80ab0553365a0aff158d9c3 (patch)
tree5d474a4dc88eb934b3266ddc7a4e29bd4b3f16f5 /java
parent1efec636c8f9ae15cfd0b911a1f9640358afbbda (diff)
Dialer: allow framework to do dark theming automatically
Change-Id: I5b840ba257adda69882e1fe19a55510802c45106 Signed-off-by: Jesse Chan <jc@lineageos.org>
Diffstat (limited to 'java')
-rw-r--r--java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml1
1 files changed, 1 insertions, 0 deletions
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 db06df4bd..3533cf92c 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>