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

Commit 5a298fbd authored by Arc Wang's avatar Arc Wang
Browse files

Fix AlertActivity child objects dark theme problem

In Settings, AlertActivity child objects use the theme
which is not compatible with dark theme.
Use @*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight
to fix dark theme problem.

Bug: 157961813
Test: manual visual
Change-Id: I49decbd51a4346c65c9b40dbe056687337b4b385
parent ff5fcdc9
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -372,7 +372,7 @@
                  android:excludeFromRecents="true"
                  android:exported="true"
                  android:permission="android.permission.NETWORK_STACK"
                  android:theme="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert">
                  android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight">
            <intent-filter>
                <action android:name="android.net.conn.PROMPT_UNVALIDATED" />
                <category android:name="android.intent.category.DEFAULT" />
@@ -1113,7 +1113,7 @@
            android:name=".fuelgauge.RequestIgnoreBatteryOptimizations"
            android:label="@string/high_power_apps"
            android:exported="true"
            android:theme="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert">
            android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight">
            <intent-filter android:priority="1">
                <action android:name="android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
                <category android:name="android.intent.category.DEFAULT" />
@@ -2142,7 +2142,7 @@
                  android:label="@string/bluetooth_pairing_request"
                  android:excludeFromRecents="true"
                  android:permission="android.permission.BLUETOOTH"
                  android:theme="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert">
                  android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight">
        </activity>

        <service android:name=".bluetooth.BluetoothPairingService" />
@@ -2178,7 +2178,7 @@

        <activity android:name="ActivityPicker"
                android:label="@string/activity_picker_label"
                android:theme="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert"
                android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight"
                android:exported="true"
                android:finishOnCloseSystemDialogs="true">
            <intent-filter android:priority="1">
@@ -2231,7 +2231,7 @@
        <!-- Standard picker for widgets -->
        <activity android:name="AppWidgetPickActivity"
                android:label="@string/widget_picker_title"
                android:theme="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert"
                android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight"
                android:exported="true"
                android:finishOnCloseSystemDialogs="true">
            <intent-filter android:priority="1">
@@ -2241,7 +2241,7 @@
        </activity>

        <activity android:name="AllowBindAppWidgetActivity"
                android:theme="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert"
                android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight"
                android:finishOnCloseSystemDialogs="true"
                android:exported="true"
                android:excludeFromRecents="true">