Revert "Call noteOperation() in ShellDelegate so that noteOp() really passes."
This reverts commit 799ee34558.
Reason for revert: Broke tests in b/154910689
Change-Id: I006fb07dc29bff6f00324ae56099bc0a0a6a23a9
Bug: 154910689
This commit is contained in:
@@ -20045,7 +20045,8 @@ public class ActivityManagerService extends IActivityManager.Stub
|
||||
if (uid == mTargetUid && isTargetOp(code)) {
|
||||
final long identity = Binder.clearCallingIdentity();
|
||||
try {
|
||||
return superImpl.apply(code, Process.SHELL_UID, "com.android.shell", featureId,
|
||||
return mAppOpsService.noteProxyOperation(code, Process.SHELL_UID,
|
||||
"com.android.shell", null, uid, packageName, featureId,
|
||||
shouldCollectAsyncNotedOp, message);
|
||||
} finally {
|
||||
Binder.restoreCallingIdentity(identity);
|
||||
|
||||
Reference in New Issue
Block a user