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

Commit e111e5c5 authored by Chen Xu's avatar Chen Xu Committed by Android (Google) Code Review
Browse files

Merge "secret code not include FLAG_RECEIVE_INCLUDE_BACKGROUND"

parents 5698b715 ce84d7ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2570,7 +2570,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, null, options.toBundle());
        }
    }