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

Commit ce84d7ef authored by chen xu's avatar chen xu
Browse files

secret code not include FLAG_RECEIVE_INCLUDE_BACKGROUND

Bug: 129293291
Test: Manual
Change-Id: I2b684fe9ca5c11faadc5ed29e91eca6e6368bd50
parent d290af51
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2503,7 +2503,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());
        }
    }