commit | febe3f029d8fdade050406786a7ff4a3e5bdce4c | [log] [tgz] |
---|---|---|
author | Iris Yang <irisykyang@google.com> | Tue Sep 06 10:29:43 2022 +0800 |
committer | Iris Yang <irisykyang@google.com> | Tue Sep 06 10:29:43 2022 +0800 |
tree | c0bd8060986021146901f0eda4469c87a809b359 | |
parent | cd1952c848f7bacf6d131eb2bd7356c1830804bb [diff] |
Post callback onSecureWindowShown on the main thread onSecureWindowShown will trigger a toast showing and might cause deadlock since showing a toast will acquire ActivityManagerService lock. Post onSecureWindowShown on the main thread, so it doesn't block activity launching. Bug: 244139910 Test: Manually test with Exo on multi-display environment Change-Id: Idf29b534a3657a265a5f389e0b388bc3af19c04e