Merge "Revert "Revert "Call noteOperation() in ShellDelegate so that noteOp() really passes.""" into rvc-dev am: 664ef14581 am: e498bbb34e
Change-Id: I1e41523c6adda4af30c33d57c679b48e5ec913c1
This commit is contained in:
@@ -20224,8 +20224,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);
|
||||
|
||||
Reference in New Issue
Block a user