Files
frameworks_base/core/java/android/view
Riddle Hsu 5e4b075554 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
2020-12-03 11:57:42 +00:00
..
2020-02-24 12:45:27 -08:00
2020-04-20 15:07:59 +00:00
2020-05-04 11:41:13 +08:00