commit | 4b755a5a0b428d5d06aac9481d517a91db84fa0d | [log] [tgz] |
---|---|---|
author | Sumedh Sen <sumedhsen@google.com> | Thu Mar 23 16:29:47 2023 -0700 |
committer | Sumedh Sen <sumedhsen@google.com> | Thu Apr 13 20:34:32 2023 +0000 |
tree | ef8f0080d9619f30412eb81f614f1d64caab6d52 | |
parent | f304ffc940529866ac613b9e131a594a10154e28 [diff] |
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 Merged-In: I169a1f72c84528ca606b6a4da165d4fbcd02b08d Change-Id: I169a1f72c84528ca606b6a4da165d4fbcd02b08d (cherry picked from commit febe3918020a94b2af48ade98eb6a49cdd4a3bdf)