summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorliulvping <liulvping@xiaomi.com>2017-11-06 17:36:40 +0800
committerliulvping <liulvping@xiaomi.com>2017-12-07 15:39:08 +0800
commite2437036a653261aadd2b28f524386340f96b66d (patch)
treeb7eacbde5beed632a627c2ba816ea3f3fabb3af7 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent645cd2ad2665f422f0499d86b061d56a31926d18 (diff)
fix system app's abi error after uninstall updated version.
When uninstall an updated system app, we always did as following steps. First we delete data structure by calling deleteInstalledPackageLIF(), then enable it from disabled system packages and re-adding to PackageSettings map by calling addPackageLPw(). At last re-installing apps in system partition with scanPackageTracedLI(). But if an package with sharedUserId readded failed with exception of 'Adding duplicate shared id: xxx', then we cann't reuse it's derived CPU Abis from settings, others we could get CPU Abis uninitialized errors. Test: Manual; Update an system app with sharedUserId Test: Manual; Uninstall and ensure it run ok Change-Id: Icfda17c5004d291c664ed80d578aca4b7cf4a975 Signed-off-by: liulvping <liulvping@xiaomi.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions