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

Commit cd0e238b authored by chen xu's avatar chen xu Committed by Chen Xu
Browse files

secret code not include FLAG_RECEIVE_INCLUDE_BACKGROUND

Bug: 129293291
Test: Manual
Change-Id: I71359d9a8d9441b1c28803c2c71b02b3b3227c6e
Merged-in: I2b684fe9ca5c11faadc5ed29e91eca6e6368bd50
parent e119db96
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2448,7 +2448,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);
        }
    }