Enable PackageManagerService snapshots
Bug: 161323622 Throw the switch that enables PackageManagerService snapshots. Revert this CL if the snapshots introduce field failures. Test: atest * FrameworksServicesTests:UserSystemPackageInstallerTest * FrameworksServicesTests:PackageManagerSettingsTests * FrameworksServicesTests:PackageManagerServiceTest * FrameworksServicesTests:AppsFilterTest * FrameworksServicesTests:PackageInstallerSessionTest * FrameworksServicesTests:ScanTests * UserLifecycleTests#startUser * UserLifecycleTests#stopUser * UserLifecycleTests#switchUser Change-Id: I1a35ae759a4f90cc1c378f0f384c331fe3d27e0d
This commit is contained in:
@@ -4670,7 +4670,7 @@ public class PackageManagerService extends IPackageManager.Stub
|
||||
|
||||
// The snapshot disable/enable switch. An image with the flag set true uses snapshots
|
||||
// and an image with the flag set false does not use snapshots.
|
||||
private static final boolean SNAPSHOT_ENABLED = false;
|
||||
private static final boolean SNAPSHOT_ENABLED = true;
|
||||
|
||||
/**
|
||||
* Return the live or cached computer. The method will rebuild the
|
||||
|
||||
Reference in New Issue
Block a user