summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Azhara Assanova <azharaa@google.com> 2024-11-17 19:25:44 +0000
committer Azhara Assanova <azharaa@google.com> 2024-11-24 20:34:07 +0000
commit35e7781b03a20ee63605da8b52f5998e0ad24b65 (patch)
tree2cb65f1457a0eabe23a5220965f6fb68b59d7b0a /libs/androidfw/ObbFile.cpp
parentce03a3f350d7b8580ec22201eb30b18b148d9c09 (diff)
[AAPM] DisallowInstallUnknownSources: set state after disable
After AAPM is disabled, all disallow install unknown sources toggles should be disabled. This is done by setting the OP_REQUEST_INSTALL_PACKAGES app op to MODE_ERRORED for all users and packages with REQUEST_INSTALL_PACKAGES permission. Bug: 369361373 Test: manually enabled, disabled, and observed the toggle is disabled Test: atest DisallowInstallUnknownSourcesTest Flag: android.security.aapm_feature_disable_install_unknown_sources Change-Id: I7ae8777bd8a254ee80239bf93e916dce155717f3
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions