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

Commit 81ee5609 authored by Arun kumar Voddu's avatar Arun kumar Voddu Committed by Gerrit Code Review
Browse files

Merge "Adding extra flag while broadcasting the SIM_STATE_CHANGED"

parents 0cf4b000 3ea803cb
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);