diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-12-03 15:57:36 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-12-03 11:57:42 +0000 |
commit | 5e4b0755547067a26b30dab8f4dfaa8b05fad5ce (patch) | |
tree | 3e7c2be4080edb9a62ba2fb85339d069a67536d3 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 5884555cd218ed53dd797ef4183f357aabad4214 (diff) |
RESTRICT AUTOMERGE 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
Test: WindowInputTests
Change-Id: I70de9835c7699fe6f56fc3655b0fee5c317ecc3a
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions