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

Commit eeacd7d3 authored by Dan Sandler's avatar Dan Sandler Committed by Daniel Sandler
Browse files

Fix back gesture / keycode for the PlatLogoActivity

By overriding onKeyUp on the Activity itself, without
calling super, I broke legacy back handling. Fortunately,
there is now a better way to handle back!

(Also fix the theme to avoid wallpaper showing through
display cutout insets.)

Test: adb shell input keyevent --longpress KEYCODE_BACK
Test: swipe from edge
Fixes: 289648693
Fixes: 290989795
Change-Id: I4fd4975421d204f06dbd8acda1a0d2a5a99f3465
(cherry picked from commit 5bbab52e)
parent 7db9c570
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7752,8 +7752,9 @@
                android:process=":ui">
        </activity>
        <activity android:name="com.android.internal.app.PlatLogoActivity"
                android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen"
                android:theme="@style/Theme.NoTitleBar.Fullscreen"
                android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
                android:enableOnBackInvokedCallback="true"
                android:icon="@drawable/platlogo"
                android:process=":ui">
        </activity>