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

Commit 33b5e988 authored by Matthew Ng's avatar Matthew Ng
Browse files

Fixes edge back working assuming boot up has back button

Can execute from back gesture is determined by overview proxy via
launcher however upon boot without booting into launcher, the default
value for back is hidden and anything that boots into a screen that is
not launcher will not be able to run back even if the back button would
have been there in 2/3 button mode. Set the default to visible alpha
until launcher appears and sets it to 0.

Test: boot with kiosk mode with gesture nav and use back
Fixes: 128971665
Change-Id: I19e684354aac9d05b91f4a50f587d75a1274bf90
parent fb0756fa
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -439,6 +439,9 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis
        mSupportsRoundedCornersOnWindows = ScreenDecorationsUtils
                .supportsRoundedCornersOnWindows(mContext.getResources());

        // Assumes device always starts with back button until launcher tells it that it does not
        mBackButtonAlpha = 1.0f;

        // Listen for the package update changes.
        if (mDeviceProvisionedController.getCurrentUser() == UserHandle.USER_SYSTEM) {
            updateEnabledState();