Skip to content
Snippets Groups Projects
Commit 8a410f7e authored by Stanislav Zholnin's avatar Stanislav Zholnin
Browse files

Revert "Revert "Call noteOperation() in ShellDelegate so that noteOp() really passes.""

This reverts commit 623bbef1.

Reason for revert: The original change was correct.

Bug: 153676562
Test: presubmit

Change-Id: I4413dfab9704546e8a7a8c6b1955f23b8f73cc32
parent 623bbef1
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment