summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2023-07-17 11:08:03 -0700
committer Song Chun Fan <schfan@google.com> 2023-07-19 22:04:43 +0000
commit90451b716d8b42bed7454e9a3d891f7a6c10d192 (patch)
tree7b5168979ca1aba467fa196a16fbdd67c29d07d6 /libs/androidfw/FileStream.cpp
parent6ff853d894f995d03137cd761ad51e24217513af (diff)
[pm] fix SCAN_AS_STOPPED_SYSTEM_APP for restoreDisabledSystemPackage
Use ParsedPackage to directly check if the package has a launcher entry or not. This way, we can unify the system-apps-stopped code path for 1) installing new system apps after an OTA, and 2) restoring disabled system apps after uninstalling the update. BUG: 286459841 Test: manual with a system app that doesn't have a launcher entry Test: also manually checked that a system app with a launcher entry will be stopped by default Merged-In: Ic51a9ceb7db6d887cebc390bb2878db8810cddbf Change-Id: Ic51a9ceb7db6d887cebc390bb2878db8810cddbf (cherry picked from commit c3415b9f2ff755cde0403eb121e99de924007edd)
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions