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

Commit a3e3c4dd authored by Jim Miller's avatar Jim Miller Committed by Android Git Automerger
Browse files

am 17f9fe13: Merge "Fix 5705837: Dismiss keyguard when launching Settings from...

am 17f9fe13: Merge "Fix 5705837: Dismiss keyguard when launching Settings from Statusbar" into ics-mr1

* commit '17f9fe13':
  Fix 5705837: Dismiss keyguard when launching Settings from Statusbar
parents 2eb4a5ee 17f9fe13
Loading
Loading
Loading
Loading
+20 −15
Original line number Diff line number Diff line
@@ -2188,6 +2188,11 @@ public class PhoneStatusBar extends StatusBar {

    private View.OnClickListener mSettingsButtonListener = new View.OnClickListener() {
        public void onClick(View v) {
            try {
                // Dismiss the lock screen when Settings starts.
                ActivityManagerNative.getDefault().dismissKeyguardOnNextActivity();
            } catch (RemoteException e) {
            }
            v.getContext().startActivity(new Intent(Settings.ACTION_SETTINGS)
                    .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
            animateCollapse();