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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user