diff options
author | Patrick Baumann <patb@google.com> | 2018-04-04 12:14:15 -0700 |
---|---|---|
committer | Patrick Baumann <patb@google.com> | 2018-04-04 12:18:16 -0700 |
commit | c2def58ec0ab96c90f6d786526c5446f9d12be70 (patch) | |
tree | 0381c12a7b4a0ab05d2899eaa5faeea287898721 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 752cd826b9991f0333ac4cfe7a8c3a9c60f0cbda (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