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

Commit 9e913354 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Disable back gesture in Launcher after reboot

It needs to be ensured that `updateDisallowBack` is called at startup after views are created.

Bug: 318786031
Flag: NONE
Test: Manual, i.e. verifying that back gesture is disabled after rebooting the device
Change-Id: I32812101c0e159f5cba41ab419f86de760449906
parent 818b3ba0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -515,6 +515,7 @@ public class Launcher extends StatefulActivity<LauncherState>
        mStateManager = new StateManager<>(this, NORMAL);

        setupViews();
        updateDisallowBack();

        mAppWidgetManager = new WidgetManagerHelper(this);
        mAppWidgetHolder = createAppWidgetHolder();