Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ed9826e0 authored by Songchun Fan's avatar Songchun Fan Committed by Android Build Coastguard Worker
Browse files

[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

(cherry picked from commit c3415b9f)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:90451b716d8b42bed7454e9a3d891f7a6c10d192)
Merged-In: Ic51a9ceb7db6d887cebc390bb2878db8810cddbf
Change-Id: Ic51a9ceb7db6d887cebc390bb2878db8810cddbf
parent 849366b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment