diff options
| author | 2023-07-17 11:08:03 -0700 | |
|---|---|---|
| committer | 2023-07-17 14:09:03 -0700 | |
| commit | c3415b9f2ff755cde0403eb121e99de924007edd (patch) | |
| tree | 7a474c364f4b4078e9d1392d9c6c98f23608a15b /libs/androidfw/StringPool.cpp | |
| parent | 66ca10a357709026ac962cd6e0f00033fb4a65d9 (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
Change-Id: Ic51a9ceb7db6d887cebc390bb2878db8810cddbf
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions