diff options
| author | 2023-03-23 16:29:47 -0700 | |
|---|---|---|
| committer | 2023-05-18 22:15:22 +0000 | |
| commit | 56e9c33cc91f461c79ce8ffe9330f96f21e16216 (patch) | |
| tree | 949e9606ac8e668c51fec63e9eff5ab94cc32d0b /libs/androidfw/AttributeResolution.cpp | |
| parent | ee3f2dddcc6bad5f66399320964098bbe9889e84 (diff) | |
[RESTRICT AUTOMERGE] Prevent installing apps in policy restricted work profile using ADB
If DISALLOW_DEBUGGING_FEATURES or DISALLOW_INSTALL_APPS restrictions are
set on a work profile, prevent side loading of APKs using ADB in the
work profile.
Bug: 257443065
Test: atest CtsPackageInstallTestCases:UserRestrictionInstallTest
(cherry picked from commit febe3918020a94b2af48ade98eb6a49cdd4a3bdf)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b988a09db551d9a8b2aeb0e8eb88e610605709e8)
Merged-In: I169a1f72c84528ca606b6a4da165d4fbcd02b08d
Change-Id: I169a1f72c84528ca606b6a4da165d4fbcd02b08d
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions