commit | be03cef81349041cc83020c4a0ba358d4489a7c6 | [log] [tgz] |
---|---|---|
author | Sumedh Sen <sumedhsen@google.com> | Thu Mar 23 16:29:47 2023 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon May 29 03:09:20 2023 +0000 |
tree | 23ef7fae34fca869a8ef87353dd39fc092c3d2a1 | |
parent | f24b1b321cf4f3302a15fbbb269a9b1237ccf7de [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