Merge pull request #666 from chirayudesai/78-fixup
fixup! restore: Skip installing APKs if not allowed by policy
This commit is contained in:
commit
5184020f2f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ val installModule = module {
|
|||
factory { ApkSplitCompatibilityChecker(get()) }
|
||||
factory {
|
||||
ApkRestore(androidContext(), get(), get(), get(), get(), get()) {
|
||||
androidContext().getSystemService(UserManager::class.java).isAllowedToInstallApks()
|
||||
androidContext().getSystemService(UserManager::class.java)!!.isAllowedToInstallApks()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue