summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorlonghai <longhai@xiaomi.com>2016-01-29 14:22:22 +0800
committerlonghai <longhai@xiaomi.com>2016-01-29 14:46:59 +0800
commitbc62b218df0bf6b83169cd82420e2701ae13a5ea (patch)
tree80dbee84573fbf972714c051bf675274605f34e8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent26fdbc18337a8e9d16e18255e39ce7a16e83d57b (diff)
Fixed the issue when some apps were gone and couldn't be installed
successfully after updating from KK to M via OTA. There is more than one signature for some apps like Cortana. This app which is installed in KK would be gone when updating from KK to M via OTA. The reason for this is the unmatching signature, the error code is: INSTALL_FAILED_UPDATE_INCOMPATIBLE. Solution: 'databaseVersion' should not be assigned to CURRENT_DATABASE_VERSION when creating a 'VersionInfo' instance, because it would affect the process of ‘compareSignaturesCompat’ signature verification. We could set the right value of 'databaseVersion' at an appropriate timing. Signed-off-by: longhai <longhai@xiaomi.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions