commit | 1be3c76ebaf47f117505800e90e79cece13c6b35 | [log] [tgz] |
---|---|---|
author | JW Wang <wangchun@google.com> | Thu Mar 24 15:55:23 2022 +0800 |
committer | Chun-Wei Wang <wangchun@google.com> | Fri Apr 01 10:54:56 2022 +0000 |
tree | 24fe796b16fcd4176dc110d1998bc60230ea0355 | |
parent | 2444f9f27db560b7cf09d0e763861512940a2572 [diff] |
Fix the FLAG_INSTALLED for factory APEXes To be consistent with the behavior of system apks. APEX is always preloaded and can never be fully uninsalled. Fix PackageManager#getInstalledPackages for there is no more uninstalled APEX. Inactive APEX is still considered installed. Bug: 226514467 Bug: 225756739 Test: atest com.android.server.pm.ApexManagerTest Change-Id: I784071caee2366f984bd5a1f98a0a575e4c9baf6