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

Commit 43b92941 authored by Arun kumar Voddu's avatar Arun kumar Voddu Committed by Automerger Merge Worker
Browse files

Merge "Adding extra flag while broadcasting the SIM_STATE_CHANGED" am: 81ee5609 am: 90fda2e4

parents 12687c3b 90fda2e4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -805,6 +805,7 @@ public class UiccController extends Handler {
        // DO NOT add any new extras to this broadcast -- it is not protected by any permissions.
        Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED);
        intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
        intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
        intent.putExtra(PhoneConstants.PHONE_NAME_KEY, "Phone");
        intent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, state);
        intent.putExtra(IccCardConstants.INTENT_KEY_LOCKED_REASON, reason);