Make QS always use dark theme colors

The new dual tone style has QS always on a dark surface, so we should
use dark theme colors regardless of being on light theme.

Test: visual
Bug: 183953523
Change-Id: I0337273c1821358c68afe4e4c83b2a7b03a1b82d
This commit is contained in:
Lucas Dupin
2021-04-02 18:18:48 -07:00
parent 90c634b06c
commit d62f7249f9
2 changed files with 4 additions and 3 deletions

View File

@@ -24,7 +24,7 @@
android:minHeight="48dp"
android:clickable="false"
android:focusable="true"
android:theme="@style/QSHeaderTheme">
android:theme="@style/Theme.SystemUI.QuickSettings.Header">
<com.android.systemui.statusbar.policy.Clock
android:id="@+id/clock"

View File

@@ -375,9 +375,10 @@
<item name="*android:dotColor">?android:attr/textColorSecondary</item>
</style>
<style name="Theme.SystemUI.QuickSettings" parent="@*android:style/Theme.DeviceDefault.SystemUI">
<style name="Theme.SystemUI.QuickSettings" parent="@*android:style/Theme.DeviceDefault">
<item name="lightIconTheme">@style/QSIconTheme</item>
<item name="darkIconTheme">@style/QSIconTheme</item>
<item name="android:textColor">?android:attr/textColorPrimary</item>
<item name="android:colorError">@*android:color/error_color_material_dark</item>
<item name="android:windowIsFloating">true</item>
<item name="android:homeAsUpIndicator">@drawable/ic_arrow_back</item>
@@ -452,7 +453,7 @@
<item name="singleToneColor">@color/dark_mode_qs_icon_color_single_tone</item>
</style>
<style name="QSHeaderTheme" parent="@style/Theme.SystemUI">
<style name="Theme.SystemUI.QuickSettings.Header">
<item name="lightIconTheme">@style/DualToneLightTheme</item>
<item name="darkIconTheme">@style/QSHeaderDarkTheme</item>
</style>