diff options
| author | 2024-01-24 22:58:41 -0800 | |
|---|---|---|
| committer | 2024-01-24 23:46:07 -0800 | |
| commit | 12dc2b8a9fff3defe3348d9af16fef2f5fa5d7b9 (patch) | |
| tree | 8e25f74a1e1dec602a73b1fbb458adea4db47dc6 /api/coverage/tools | |
| parent | 5059e0cc54e2c6f6e3a630893f5554d3bd5ed849 (diff) | |
[aapt2] Always generate code for permissions
We will generate the String constant in Manifest.java for a permission
or permission group even if it is removed via feature flag. This is so
that code referencing the string will still compile.
Bug: 297373084
Bug: 318014882
Test: atest aapt2_tests
Test: Modified framework-res to build with SDK version 34 and forced
removal of a permission with a disabled feature flag. The entire
Android source could still be built even if the framework-res.apk no
longer had the removed permission in the manifest.
Change-Id: I982a8988e35e09e73bcbe065f0d7cf47c2907d54
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions