Merge "Revert "Revert "Call noteOperation() in ShellDelegate so that noteOp() really passes.""" into rvc-dev am: 664ef14581
Change-Id: I4b36190d00c8ef244709bed96235ddd1423efd7f
This commit is contained in:
@@ -20224,8 +20224,7 @@ public class ActivityManagerService extends IActivityManager.Stub
|
|||||||
if (uid == mTargetUid && isTargetOp(code)) {
|
if (uid == mTargetUid && isTargetOp(code)) {
|
||||||
final long identity = Binder.clearCallingIdentity();
|
final long identity = Binder.clearCallingIdentity();
|
||||||
try {
|
try {
|
||||||
return mAppOpsService.noteProxyOperation(code, Process.SHELL_UID,
|
return superImpl.apply(code, Process.SHELL_UID, "com.android.shell", featureId,
|
||||||
"com.android.shell", null, uid, packageName, featureId,
|
|
||||||
shouldCollectAsyncNotedOp, message);
|
shouldCollectAsyncNotedOp, message);
|
||||||
} finally {
|
} finally {
|
||||||
Binder.restoreCallingIdentity(identity);
|
Binder.restoreCallingIdentity(identity);
|
||||||
|
|||||||
Reference in New Issue
Block a user