PackageSettings.pkg isn't scanned yet when reading package settings, but the generation needs information about the package, so we need to defer it to restorePermissionState(). Fixes: 156204380 Test: devices boots Change-Id: Id77222b2843395bbba17794a275df641d0d85d63