Initialize AppHibernationService before ArtManagerLocal.

ArtManagerLocal depends on it, and in particular it may be needed when
PackageManagerService.updatePackagesIfNeeded runs, to skip hibernated
packages.

This also moves AppHibernationService out of the block that only gets
initialised when mFactoryTestMode !=
FactoryTest.FACTORY_TEST_LOW_LEVEL, which is necessary since
ArtManagerLocal is initialised outside that condition.

Test: Boot and execute REASON_FIRST_BOOT
Bug: 265782156
Change-Id: Ic76cb4d5301ab67d62f7802936298b3175496640
1 file changed