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
This commit is contained in:
Joe Onorato
2019-03-21 10:13:02 -07:00
parent b953577b27
commit 324cb51012

View File

@@ -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);