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

Commit 14ee8d7e authored by Jason Monk's avatar Jason Monk
Browse files

Fix Settings home lifecycle

Bug: 26268813
Bug: 27330440
Change-Id: I6f5ab4a412b129728db3e8dff134c04272909997
parent 8f084426
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -102,16 +102,6 @@ public class SettingsDrawerActivity extends Activity {
                + " ms");
    }

    @Override
    public void onBackPressed() {
        if (mShowingMenu) {
            // If we are showing the menu, then we are a top level activity and the back should
            // kick back to settings home.
            openTile(null);
        }
        super.onBackPressed();
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        if (mShowingMenu && mDrawerLayout != null && item.getItemId() == android.R.id.home