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

Commit 818ba11c authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Add replace flag to a few more broadcasts.

parent 75cbfcdf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -548,6 +548,7 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac
                Settings.System.AIRPLANE_MODE_ON,
                on ? 1 : 0);
        Intent intent = new Intent(Intent.ACTION_AIRPLANE_MODE_CHANGED);
        intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
        intent.putExtra("state", on);
        mContext.sendBroadcast(intent);
    }
+1 −0
Original line number Diff line number Diff line
@@ -267,6 +267,7 @@ public class KeyguardViewMediator implements KeyguardViewCallback,
                mKeyguardViewProperties, mUpdateMonitor);

        mUserPresentIntent = new Intent(Intent.ACTION_USER_PRESENT);
        mUserPresentIntent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
    }

    /**