Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5ddf460 authored by Danny Lin's avatar Danny Lin Committed by Bruno Martins
Browse files

SystemUI: Make QS panel change on UI mode changes



This reverts commit d62f7249.

This is a prerequisite for making the QS panel follow the light system
theme setting.

Change-Id: Iac4c96ccb3845812ca3df820bf27dc533816f72e
Signed-off-by: default avataralthafvly <althafvly@gmail.com>
parent 900f1d32
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
    android:paddingLeft="@dimen/qs_panel_padding"
    android:paddingRight="@dimen/qs_panel_padding"
    android:visibility="gone"
    android:theme="@style/Theme.SystemUI.QuickSettings.Header"
    android:theme="@style/QSHeaderTheme"
    app:layoutDescription="@xml/combined_qs_header_scene">

    <androidx.constraintlayout.widget.Guideline
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
    android:paddingLeft="@dimen/qs_panel_padding"
    android:paddingRight="@dimen/qs_panel_padding"
    android:visibility="gone"
    android:theme="@style/Theme.SystemUI.QuickSettings.Header">
    android:theme="@style/QSHeaderTheme">

    <com.android.systemui.statusbar.policy.Clock
        android:id="@+id/clock"
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
    android:minHeight="@dimen/qs_header_row_min_height"
    android:clickable="false"
    android:focusable="true"
    android:theme="@style/Theme.SystemUI.QuickSettings.Header">
    android:theme="@style/QSHeaderTheme">

    <LinearLayout
        android:id="@+id/clock_container"
+2 −2
Original line number Diff line number Diff line
@@ -347,7 +347,7 @@
        <item name="*android:dotColor">?android:attr/textColorSecondary</item>
    </style>

    <style name="Theme.SystemUI.QuickSettings" parent="@*android:style/Theme.DeviceDefault">
    <style name="Theme.SystemUI.QuickSettings" parent="@*android:style/Theme.DeviceDefault.SystemUI">
        <item name="lightIconTheme">@style/QSIconTheme</item>
        <item name="darkIconTheme">@style/QSIconTheme</item>
        <item name="android:colorError">@*android:color/error_color_material_dark</item>
@@ -455,7 +455,7 @@
        <item name="singleToneColor">@color/dark_mode_qs_icon_color_single_tone</item>
    </style>

    <style name="Theme.SystemUI.QuickSettings.Header">
    <style name="QSHeaderTheme" parent="@style/Theme.SystemUI">
        <item name="lightIconTheme">@style/DualToneLightTheme</item>
        <item name="darkIconTheme">@style/QSHeaderDarkTheme</item>
    </style>