commit | 47c613f21a3dd851818cb773511786c2bf1d2500 | [log] [tgz] |
---|---|---|
author | Adam Bookatz <bookatz@google.com> | Wed Jan 11 16:49:14 2023 -0800 |
committer | Adam Bookatz <bookatz@google.com> | Thu Jan 12 21:19:58 2023 +0000 |
tree | c7050e93394d649a0900db70d6215af1c0166c45 | |
parent | 8f112b3a9ed9e647434f328c6a1b9297b9695f2e [diff] |
TestHarnessModeService uses MainUser Previously, this service dealt with user 0's screen lock (etc.). For devices in Headless System User Mode, this should instead be the MainUser, which will be different from user 0 on such devices. Test: ran "adbshell cmd testharness enable" and confirmed: If MainUser has a password, it returns an error. Otherwise, it proceeds. Bug: 265213225 Change-Id: Ie73fcab156260dc869504c803c81e8c0ff1b2d0c