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

Commit 49762fab 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

am: ac8fd3f7

Change-Id: I50e78ef472473fc9f478538994221dab9c75af99
parents f7d69f79 ac8fd3f7
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);
        }
    }