fixup! restore: Skip installing APKs if not allowed by policy
Change-Id: Iaa1590df84e3d1785baf0f938da0a2b2fe43ccd0
This commit is contained in:
parent
1653e6d302
commit
0a81c42fd1
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ val installModule = module {
|
||||||
factory { ApkSplitCompatibilityChecker(get()) }
|
factory { ApkSplitCompatibilityChecker(get()) }
|
||||||
factory {
|
factory {
|
||||||
ApkRestore(androidContext(), get(), get(), get(), get(), get()) {
|
ApkRestore(androidContext(), get(), get(), get(), get(), get()) {
|
||||||
androidContext().getSystemService(UserManager::class.java).isAllowedToInstallApks()
|
androidContext().getSystemService(UserManager::class.java)!!.isAllowedToInstallApks()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue