commit | c2def58ec0ab96c90f6d786526c5446f9d12be70 | [log] [tgz] |
---|---|---|
author | Patrick Baumann <patb@google.com> | Wed Apr 04 12:14:15 2018 -0700 |
committer | Patrick Baumann <patb@google.com> | Wed Apr 04 12:18:16 2018 -0700 |
tree | 0381c12a7b4a0ab05d2899eaa5faeea287898721 | |
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