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

Commit 324cb510 authored by Joe Onorato's avatar Joe Onorato
Browse files

Remove unnecessary called from system process warning.

This method takes the UserHandle, so we don't need to warn that the
system process is calling the method without UserHandle.

Test: treehugger
Change-Id: I68b0ffc75e11ee2d45faec510ea63e446830a378
parent b953577b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1082,7 +1082,6 @@ class ContextImpl extends Context {
    @Override
    public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user,
            String[] receiverPermissions) {
        warnIfCallingFromSystemProcess();
        String resolvedType = intent.resolveTypeIfNeeded(getContentResolver());
        try {
            intent.prepareToLeaveProcess(this);