diff options
author | Hongwei Wang <hwwang@google.com> | 2020-06-20 00:19:34 -0700 |
---|---|---|
committer | Hongwei Wang <hwwang@google.com> | 2020-06-22 16:24:29 -0700 |
commit | d8163295801c1e482266d007ee737efd5915dd35 (patch) | |
tree | e6aff333d2897a6d09f30a85423545a2cb97e405 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 06cfd49914fe1faa3cfe504c90725483b3361dc8 (diff) |
Updates internal lock task mode state early
When removing a lock task, LockTaskController callbacks status bar on
the lock task mode state change. On the receiver side, SysUI queries
ActivityTaskManager#getLockTaskModeState to updates its SysUiState.
This raises a race condition that SysUI gets a staled lock task state
and uses that info to disable Recents.
PinnedStackTests#testPinnedStackWithDockedStack is flaky since it's
running after PinnedStackTests#testDisallowEnterPipActivityLocked and
relies on Recents being functional.
Bug: 156003518
Test: atest --iteration 5 PinnedStackTests
Change-Id: I1ff3c75c4ad37ee8f3951b8f2d7f2a3b0f8334ce
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions