commit | 7ea5378f8962a58adfb3702bcd9625aec78b3c7d | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Tue Apr 17 13:53:18 2018 -0700 |
committer | Suprabh Shukla <suprabh@google.com> | Thu Apr 19 21:31:10 2018 -0700 |
tree | ab5168dafc86ff5f4fba307b039b3441297ba762 | |
parent | 069c5b58b09d14263b9a86852d60da45651b3099 [diff] |
Failing setPackagesSuspended if user has a DO / PO Device or profile owners should be suspending packages via DevicePolicyManager. If an app with SUSPEND_APPS tries use the PackageManager api on a user with a DO or a PO, the call should fail Test: gts-tradefed run gts-dev -m SuspendApps Bug: 78132137 Change-Id: If478db0726073c2e59dba3a7049cc16c56d9f3d5