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

Commit 8ad79ffd authored by Winson Chung's avatar Winson Chung
Browse files

Fix NPE in edge back gesture handler



- TaskBarDelegate creates an EdgeBackGestureHandler, but does not set
  a stage change callback (not needed currently)

Fixes: 197831135
Test: atest SystemUITests

Signed-off-by: default avatarWinson Chung <winsonc@google.com>
Change-Id: I35841c077506d7dad35b0c53a72d9907c205cb52
parent a07f72ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -384,7 +384,7 @@ public class EdgeBackGestureHandler extends CurrentUserTracker
    private void onNavigationSettingsChanged() {
        boolean wasBackAllowed = isHandlingGestures();
        updateCurrentUserResources();
        if (wasBackAllowed != isHandlingGestures()) {
        if (mStateChangeCallback != null && wasBackAllowed != isHandlingGestures()) {
            mStateChangeCallback.run();
        }
    }