Merge "Call noteOperation() in ShellDelegate so that noteOp() really passes." into rvc-dev am: a87a494ff8

Change-Id: I989ac2930aaad4be6ef59c83e40105f451a4246e
This commit is contained in:
TreeHugger Robot
2020-04-23 01:02:18 +00:00
committed by Automerger Merge Worker

View File

@@ -20045,8 +20045,7 @@ public class ActivityManagerService extends IActivityManager.Stub
if (uid == mTargetUid && isTargetOp(code)) {
final long identity = Binder.clearCallingIdentity();
try {
return mAppOpsService.noteProxyOperation(code, Process.SHELL_UID,
"com.android.shell", null, uid, packageName, featureId,
return superImpl.apply(code, Process.SHELL_UID, "com.android.shell", featureId,
shouldCollectAsyncNotedOp, message);
} finally {
Binder.restoreCallingIdentity(identity);