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

Commit fbe3c3bf authored by Brian Valcarcel's avatar Brian Valcarcel
Browse files

Add TV-specific theme for Uninstaller Activity

For the TV uninstall dialog to render as intended, we need a theme that doesn't derive from AlertDialog for TV devices.

Bug: 416595678
Test: make and flash
Flag: EXEMPT bugfix
Change-Id: Ib7bf5a2ef3be6a42abb7de4f5ceca7d02911551a
parent ccf86e2b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -104,6 +104,7 @@
                android:exported="false" />

        <activity android:name=".UninstallerActivity"
                android:theme="@style/Theme.UninstallerActivity"
                android:configChanges="orientation|keyboardHidden|screenSize"
                android:excludeFromRecents="true"
                android:noHistory="true"
+1 −6
Original line number Diff line number Diff line
@@ -17,16 +17,11 @@

<resources>

    <style name="Theme.AlertDialogActivity.NoAnimation"
           parent="@style/Theme.AlertDialogActivity.NoActionBar">
        <item name="android:windowAnimationStyle">@null</item>
    </style>

    <style name="Theme.AlertDialogActivity"
        parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert">
    </style>

    <style name="Theme.AlertDialogActivity.NoActionBar"
    <style name="Theme.UninstallerActivity"
        parent="@android:style/Theme.Material.Light.NoActionBar">
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
+5 −0
Original line number Diff line number Diff line
@@ -40,4 +40,9 @@
        <item name="android:buttonBarNegativeButtonStyle">@style/Widget.PackageInstaller.Button</item>
    </style>

    <style name="Theme.UninstallerActivity"
        parent="@style/Theme.AlertDialogActivity">
    </style>


</resources>