commit | 7521d1354892c0805650b4efac2d924dde0e91ea | [log] [tgz] |
---|---|---|
author | Jonathan Scott <scottjonathan@google.com> | Wed Jul 14 13:38:55 2021 +0100 |
committer | Jonathan Scott <scottjonathan@google.com> | Mon Jul 19 17:01:02 2021 +0000 |
tree | f70941dfe8b270ef15c08814b5dd9d97fb583cf7 | |
parent | bd3410fbb4565383ba7332c12fd97e9bf52cb33d [diff] |
Fix LockTaskTest. LockTaskTest was defined incorrectly and was only passing due to a separate bug which meant it (usually) doesn't test what it should! This redefines LockTask as only applying user-wide (which appears to be correct) and fixes the bug which was causing it to incorrectly pass before (it wasn't setting the primary dpc correctly). Test: atest CtsDevicePolicyTestCases Fixes: 193513706 Fixes: 194092066 Change-Id: Icea0f21ba3802b69479c2994fd4346182963be48