Skip to content
Commit 296502a3 authored by Songchun Fan's avatar Songchun Fan
Browse files

[pm] extract InstallParams from PackageManagerService class

Extract InstallParams and related logic from PackageManagerService. This
is not a structural refactor, but just re-organizing code into separate files.

This aligns with the goal to separate installation logic out from
PackageManagerService.

Due to shared code paths between addForInit and regular installation,
there are still methods that are in PackageManagerService that are
called by InstallParams. The next step is to address those methods.

Once we can clearly see which codes require PackageManagerService locks,
we can encapsulate those into new PackageManagerInternal interfaces.

+ also removed some unused code

BYPASS_INCLUSIVE_LANGUAGE_REASON=need to change some public APIs first

BUG: 194319951
Test: builds and presubmit
Change-Id: Ibf5a914f463b784857a3ca6774b2a7709c93ebd4
parent 044380ac
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