summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorryanlwlin <ryanlwlin@google.com>2020-10-27 14:04:33 +0800
committerryanlwlin <ryanlwlin@google.com>2020-11-17 20:07:41 +0800
commita7de339302764ff58359e8c07cf637367c2c7d64 (patch)
treeb42c876e7c33d458560c31e16afb98636805d9e1 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent54e28edd2f4e8f050fd043d6f7f9c1de78f49589 (diff)
Fix AccessibilityService#getWindows time out
In our design, we computes the windows for each display. Ideally the window list is initialized when the window observer is created.However, if the top focus window is null, the window list won't beupdated unless there is the windows change on that display. In general case, most of non-default displays don't have windows, so their window list won't be initialized. It affects that the callee needs to wait 5 seconds for time out mechanism. To fix it, we collects the window observers that don't receive the callback when it is constructed. Then sending the callback to them when the window foucs is available next time. Bug: 169542227 Test: manually check if windows reports correctly. Change-Id: I1a3dc780de5873062b220bd1588c855138aa3657
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions