diff options
author | lumark <lumark@google.com> | 2019-01-10 20:48:18 +0800 |
---|---|---|
committer | lumark <lumark@google.com> | 2019-01-15 17:08:58 +0800 |
commit | 31e4f8ec2188ba097cda49e5f5adf3f5da1928f9 (patch) | |
tree | 866530aa3fad5d5b213af95ec01879fe1af9bc17 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 560e9f271336148e93ff6f06470306c829f64008 (diff) |
Fix IME window can't show on keyguard with setShowWhenLocked.
For new API android:showWhenLocked and Activity#setShowWhenLocked
has a bug that didn't sync window side, caused IME target window will
still be treated no show when locked flag in
PhoneWindowManager#shouldBeHiddenByKeyguard() and then the IME window
will be hidden.
Thanks to AM / WM unification, leverage this to call
ActivityRecord#canShowWhenLocked in WM side rather then just checking
FLAG_SHOW_WHEN_LOCKED.
Bug: 119629545
Test: atest KeyguardLockedTests
Change-Id: I59b01c24b54fb512c5ef4c107274fc36bb3c948e
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions