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

Commit 133f1430 authored by Wei Liu's avatar Wei Liu Committed by Android Git Automerger
Browse files

am 0641ab3d: am 636f3eac: Add clear_top flag to settings action intent. Bug: 17200185

* commit '0641ab3d':
  Add clear_top flag to settings action intent. Bug: 17200185
parents d50f8c46 0641ab3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -413,7 +413,7 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac
            @Override
            @Override
            public void onPress() {
            public void onPress() {
                Intent intent = new Intent(Settings.ACTION_SETTINGS);
                Intent intent = new Intent(Settings.ACTION_SETTINGS);
                intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
                mContext.startActivity(intent);
                mContext.startActivity(intent);
            }
            }