commit | 805585ed1baa0ddeeab07aa1f77819333a73c93d | [log] [tgz] |
---|---|---|
author | Louis Chang <louischang@google.com> | Mon Jun 21 00:33:10 2021 +0800 |
committer | Louis Chang <louischang@google.com> | Mon Jun 21 20:12:37 2021 +0800 |
tree | b012145d0b6a8fa1ecb8f09be09ae024fb8ac8df | |
parent | aa12b6a492a1f3d9839a3fc07b1971ac9fa57e55 [diff] |
Avoid locking profile task when it is already lock WorkLockActivity was started repeatedly on top of the task that contains work apps when turning screen on and off over and over. So, lots of the WorkLockActivity instances were created and added in the task, which caused system sluggish. Bug: 168527567 Bug: 177457096 Bug: 191385314 Test: manually test work challenges Test: RootWindowContainerTests Change-Id: Iac345471ef3badad6b9e5c0cc2873c60938663eb