summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Miranda Kephart <mkephart@google.com> 2022-12-01 15:06:22 -0500
committer Miranda Kephart <mkephart@google.com> 2023-01-11 18:13:14 +0000
commit0b8ada648e11ddc80b8203a9afbb79482fd7c7ff (patch)
treef9e96a80f44883099e7356daa2b744d654bff425 /services/coverage/java
parent45fdabd5f91ada6079d4cee2d3b18b3c9fe614b3 (diff)
Fix screenshot back key recognition
We were only requesting focus once, on screenshot view inflation, and the focus got reset when window.setContentView was called, causing us to no longer receive key events. This change moves the setContentView call to only happen once, and requests focus explicitly for each screenshot. Test: manual -- took two screenshots in succession and verified that back gesture worked to dismiss screenshot Bug: 259490332 Fix: 259490332 Change-Id: Ia0dd38b32f7986088b87f3838bcb05dbbb02238d
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions