diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-12-03 15:57:36 +0800 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-02-09 01:23:22 +0000 |
commit | a5eb01054b44472d32bda00066dc6ffceb9123d1 (patch) | |
tree | 72dca432230af926de6327c7cd42de7544f539ce /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 0864ae9732240a343fe4fc4c393071964e2e9854 (diff) |
Only update native InputApplicationHandle once
This makes sure the write operation (NativeInputApplicationHandle
::updateInfo) is always called from window manager side once when
calling SurfaceControl.Transaction#setInputWindowInfo or
InputManagerService#setFocusedApplication. If the info of input
application handle is changed, a new instance will be created.
That avoids the race condition of reading the fields of the same
InputApplicationInfo instance from input dispatcher.
Bug: 171857140
Bug: 161334769
Bug: 174768985
Test: WindowInputTests
Merged-In: Ief84bbe6e6fa4da5309912059904932ccf775b75
Merged-In: I70de9835c7699fe6f56fc3655b0fee5c317ecc3a
Change-Id: I70de9835c7699fe6f56fc3655b0fee5c317ecc3a
(cherry picked from commit a68473ce978f3e3ad73bd127cdcfcf663d9fd4d9)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions