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 c606627e)
Loading
Please register or sign in to comment