summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2021-04-15 07:55:07 -0600
committerJeff Sharkey <jsharkey@android.com>2021-04-15 07:55:10 -0600
commit6f2b69d36211880261c0edcd8fff3ece68041a88 (patch)
treeab1b53506b6bf161c6fa0895df92a0387dd51b01 /tools/aapt2/java/JavaClassGenerator.cpp
parent4acdb1beffc41b1fdc163b0e5182ec5f75ddf05e (diff)
Make @RequiresPermission RetentionPolicy.CLASS.
As part of Error Prone checks, we're now placing these annotations directly on AIDL interfaces. However, many portions of the OS are built using prebuilt AIDL files, where RetentionPolicy.SOURCE annotations have been stripped away. To retain these annotations for aiding permission enforcement checks, this change upgrades to RetentionPolicy.CLASS. Bug: 183626724 Test: ./build/soong/soong_ui.bash --make-mode Bluetooth RUN_ERROR_PRONE=true Change-Id: Ic88cbf470efc1d50926fe2ff16f0e2f6cd7b1173
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions