Skip to content
Commit 10bb870d authored by Winson's avatar Winson Committed by Winson Chiu
Browse files

Copy over PkgState in PackageSetting updateFrom

Previously, the two PackageSetting objects used during
scan/install would reference the same PackageParser.Package
object, so it didn't matter which one was accessed to set
stateful fields. It would implicitly be reflected in the other
PackageSetting through the shared object.

With these fields now moved out of the shared object and
into the PackageSetting itself, these have to be updated
once the 2 settings are reconciled.

Bug: 150812845
Bug: 150596321

Test: manual update a system app, reboot, dumpsys package and
	verify that flags field contains UPDATED_SYSTEM_APP
Test: manual run dexopt for updated system app after install
	and after a reboot; verify paths are correct

Change-Id: Iaf5dfa7fb480eef760f6a44e01f5ee8317055709
parent a132d3b5
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