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

Commit 8ae74429 authored by Robert Horvath's avatar Robert Horvath
Browse files

Use system alert theme for HeavyWeightSwitcherActivity

Instead of hardcoding the use of a light theme, use a system theme.
This allows other form factors, such as TV, to use a dark theme instead.

Test: Used HeavyWeightSwitcherActivity as test dialog.
      Tested on phone emulator to verify appearance on phone.
      Same change applied to pi-tv-dev branch tested on
      an ADT-2 to verify appearance on TV.
Bug: 133398453
Change-Id: I412c837cc316d01594c8b86a5b758cc93511458a
parent 72e07ae5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4596,7 +4596,7 @@
                android:label="@string/managed_profile_label">
        </activity-alias>
        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
                android:theme="@style/Theme.DeviceDefault.Light.Dialog"
                android:theme="@style/Theme.DeviceDefault.System.Dialog.Alert"
                android:label="@string/heavy_weight_switcher_title"
                android:finishOnCloseSystemDialogs="true"
                android:excludeFromRecents="true"