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

Commit ac8fd3f7 authored by chen xu's avatar chen xu Committed by android-build-merger
Browse files

Merge "secret code not include FLAG_RECEIVE_INCLUDE_BACKGROUND"

am: 3171e248

Change-Id: Ic908beeb67f7d1096f6344d5f35ace5e6780d904
parents 22541ff1 3171e248
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2567,7 +2567,7 @@ public abstract class Phone extends Handler implements PhoneInternalInterface {
            // that both of these two actions will be broadcast.
            Intent secrectCodeIntent = new Intent(TelephonyManager.ACTION_SECRET_CODE,
                    Uri.parse("android_secret_code://" + code));
            intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
            secrectCodeIntent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
            mContext.sendBroadcast(secrectCodeIntent);
        }
    }