commit | 5c2cf03f5f8e26f715931370004d21ee217edcde | [log] [tgz] |
---|---|---|
author | Tony Mak <tonymak@google.com> | Mon Apr 03 18:38:23 2017 +0100 |
committer | Tony Mak <tonymak@google.com> | Wed Apr 05 18:52:22 2017 +0000 |
tree | f5537ed0ee7c7385b83922684f9d70909adbb52b | |
parent | de95d544cde13a7c8d0624c92f445b43cb8cef24 [diff] |
Do not stop lock task if it is starting background user We do not switch user when starting background user, so no need to stop lock task. Refactor a bit to make unit test possible. Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/am/UserControllerTest.java Test: Lock an app using TestDPC, creating work profile, lock task is not dismissed Bug: 35591838 Change-Id: I52c1f6ba07860df9266462750bf953a002f69026