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

Commit 924bfe5e authored by Stephen Bird's avatar Stephen Bird
Browse files

Easy Mode: Fix exit on easy mode screen

Change-Id: Iec39763194916c12c1947fb4f297e74c6dfa2f5f
(cherry picked from commit b4d6b6ec)
parent 76e00324
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -1788,12 +1788,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;
            }
        }