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

Commit b4d6b6ec authored by Stephen Bird's avatar Stephen Bird
Browse files

Easy Mode: Fix exit on easy mode screen

Change-Id: Iec39763194916c12c1947fb4f297e74c6dfa2f5f
parent c6207b64
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -1801,12 +1801,14 @@ public class NavigationActivity extends Activity
            mDrawerLayout.closeDrawer(Gravity.START);
            return;
        }
        if (checkBackAction()) {
            performHideEasyMode();

        boolean upToParent = mHistory.size() > 0;

        if (mNeedsEasyMode && !isEasyModeVisible() && !upToParent) {
            performShowEasyMode();
            return;
        } else {
            if (mNeedsEasyMode && !isEasyModeVisible()) {
                performShowEasyMode();
            if (checkBackAction()) {
                return;
            }
        }