commit | e31a4f8252e25f4b50d9e9c57dddc84e3f99551d | [log] [tgz] |
---|---|---|
author | Alex Salo <asalo@google.com> | Fri Sep 22 18:18:21 2023 +0000 |
committer | Alex Salo <asalo@google.com> | Mon Sep 25 20:40:44 2023 +0000 |
tree | 2265f19eb8ac7f26f5947ad20f0f231c97aeef38 | |
parent | cd91200b42c564fe57e930ebfeb715a841019442 [diff] |
Improve mitigation for finding the top resumed activity Current mitigation does not work well as there is no guarantee anything has a focus. Using isTopResumedActivity is more robust. Keeping the old mitigation which might still be helpful for cases when there is an external keyboard/mouse/trackpad. Change-Id: I4f1ca94f1c28dd9f237f400ac928170caf5e589d Fixes: 290379905