diff options
| author | Joe Onorato <joeo@google.com> | 2019-03-21 10:13:02 -0700 |
|---|---|---|
| committer | Joe Onorato <joeo@google.com> | 2019-03-21 10:13:02 -0700 |
| commit | 324cb51012a37cc79f5add94bf763c313cf3b72f (patch) | |
| tree | 5ca2c17f23f3bd96596587e9677b0b2c7a6c980d /core/java/android/app/ContextImpl.java | |
| parent | b953577b2784bebfc47ca8ad31fa55f2ea9808d1 (diff) | |
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
Diffstat (limited to 'core/java/android/app/ContextImpl.java')
| -rw-r--r-- | core/java/android/app/ContextImpl.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/java/android/app/ContextImpl.java b/core/java/android/app/ContextImpl.java index b607f9adebbe..c269d5bbfc76 100644 --- a/core/java/android/app/ContextImpl.java +++ b/core/java/android/app/ContextImpl.java @@ -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); |
