summaryrefslogtreecommitdiff
path: root/libs/androidfw/PathUtils.cpp
diff options
context:
space:
mode:
author Jared Duke <jdduke@google.com> 2023-07-19 22:11:11 +0000
committer Jared Duke <jdduke@google.com> 2023-08-30 15:50:53 +0000
commit74d09ea6ff951ada8bb0544bcca065167fa3e352 (patch)
tree9f87164ab49c430577868ab69e387d2cad058277 /libs/androidfw/PathUtils.cpp
parent22f1191130fe6917f963eb0ce7756967f034bb05 (diff)
Use @UsesReflection for LocalTransport keep rules
Prefer the @UsesReflection annotation to generate the keep rules necessary to preserve LocalTransport derived class names. These class names should be kept as they are used to generate a name that may be referenced by other packages. Other classes currently in the proguard config are automatically kept by manifest-generated keep rules, or are otherwise unnecessary. This change is effectively a no-op under the current shrinking configuration for both LocalTransport and EncryptedLocalTransport. If obfuscation is enabled, this annotation will ensure continued correctness. Bug: 248580093 Test: m + ensure all classes kept Change-Id: I867693861e5b1ca9765c926d676c0b18b16cc340
Diffstat (limited to 'libs/androidfw/PathUtils.cpp')
0 files changed, 0 insertions, 0 deletions