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

Commit 3171e248 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "secret code not include FLAG_RECEIVE_INCLUDE_BACKGROUND"

parents 6ab9b4a7 cd0e238b
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);
        }
    }