summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2021-04-07 01:46:31 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-04-08 00:15:27 +0000
commitb576ee7ec1e8be1cc9fc0a551d865bfa9f38ff8b (patch)
tree6cb0889451c3d230bf23d1f8549b5d20278215ff /tools/aapt2/java/JavaClassGenerator_test.cpp
parent851218af5f83cdb89c02d680fb22212318150068 (diff)
Add fallback for datasource without UPDATE_APP_OP_STATS
If the datasource is not in a trusted platform component then in would not have UPDATE_APP_OPS_STATS. The problem is that an app is exposing runtime permission protected data but cannot blame others in a trusted way which would not properly show in permission usage UIs. As a fallback we are adding a proxy op handling blaming the datasource and the caller. bug: 183960997 Test: Assustant on auto projection works Change-Id: I8a341a6c46c75eff86bac7a79c4219ebb7991071 (cherry picked from commit 773862fda5d38d997f458c309856ed145cd5c893)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions