summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPatrick Baumann <patb@google.com>2018-04-04 12:14:15 -0700
committerPatrick Baumann <patb@google.com>2018-04-04 12:18:16 -0700
commitc2def58ec0ab96c90f6d786526c5446f9d12be70 (patch)
tree0381c12a7b4a0ab05d2899eaa5faeea287898721 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent752cd826b9991f0333ac4cfe7a8c3a9c60f0cbda (diff)
Copy ApplicationInfo#versionCode field
This compatibility change ensures that apps built for pre-P that rely on reflection to access ApplicationInfo#versionCode don't crash. The move to long version code introduces a new field and all modifications of the field are wrapped in a method that ensures both the new and old fields are set appropriately. Test: manual - impacted app runs Change-Id: I5fb37c65b0fb04042dda12479d1e1a76590daa3d Fixes: 74393568
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions