summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2020-04-22 14:04:56 -0700
committerHai Zhang <zhanghai@google.com>2020-04-23 00:27:52 +0000
commit799ee34558f5ef91efe4e02242dabf5ca4feb463 (patch)
treedb4612b952b261e3665cf34985ff8db6bdb6c05e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent87adee8718e12a230be0b757cfa78566777d2fe2 (diff)
Call noteOperation() in ShellDelegate so that noteOp() really passes.
Previously it was calling noteProxyOperation() (with a wrong proxy/proxied relationship) in the hope that we can attribute the operation to the original app instead of only the shell. However, noteProxyOperation() requires both the proxy and the proxied app to have the app op, which defeats the purpose of ShellDelegate. So change the implementation to call noteOperation() as shell directly instead. Bug: 153676562 Test: presubmit Change-Id: I783d7a7473e2622cb0ed379b109cf511c20cc876
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions