OSDN Git Service

Update settings to reference correct versionCode
authorPatrick Baumann <patb@google.com>
Wed, 4 Apr 2018 20:17:05 +0000 (13:17 -0700)
committerPatrick Baumann <patb@google.com>
Wed, 4 Apr 2018 20:17:05 +0000 (13:17 -0700)
commitea4874db832637eeaebe4a5cd4f3fcfd3757c3cd
tree8c24d49bc32cde4f4b4de50fa0976cbc82220a2c
parenta8c53f7dcb3092967199f0d5ed6000285401143d
Update settings to reference correct versionCode

This settings change is required for a framework change that 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.

Bug: 74393568
Test: manual - builds and broken app runs
Change-Id: Idfa5f85d3f91583098ebee88f0e8caecaacff9b4
src/com/android/settings/search/IndexDatabaseHelper.java