summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTodd Kennedy <toddke@google.com>2017-07-19 09:47:55 -0700
committerTodd Kennedy <toddke@google.com>2017-08-04 19:19:13 +0000
commit23a2a0dae0b10d12cbf5f79bdcaa6fba537779bf (patch)
treecfc853e1b0494b9709159be198d8646b3f7240b6 /tools/aapt2/java/JavaClassGenerator.cpp
parenta083c8f83aa06e1d633aa58930bd316cce835de2 (diff)
Always populate the ApplicationInfo object
While scanning system apps, we abort package/application info setup if an app on /system is not a higher version than an upgrade on /data. Instead, we need to still fully populate these objects because they can be retrievd using the MATCH_FACTORY_ONLY flag. Change-Id: I0262b46f446eace60ce94f1428f3fb15d785a89c Fixes: 62980149 Test: Manual Test: Create a sample application that dumps the contents of an ApplicationInfo object for a given package Test: Install the sample application on the /system partition and "upgrade" the sample application so it's also on the /data partition Test: Create a secondary user and disable the sample application Test: Reboot the device Test: Run the sample application as the primary user and see that the ApplicationInfo object is correctly populated (cherry picked from commit c606627e6c931d4d1e60ce29f7802d7bd9f4403d)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions