summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-12-03 15:57:36 +0800
committerSiarhei Vishniakou <svv@google.com>2020-12-17 03:34:26 +0000
commitc26a04ce1abe2a04aeedd24c1f138c095bd5bbc7 (patch)
treecbeba289dd9ec6f5b5a047345590556a6becb767 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd85294307263bdd68d1b1d9ff428ccca835558d7 (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. This CL resolves the merge conflict. Bug: 171857140 Bug: 161334769 Bug: 174768985 Test: WindowInputTests Merged-In: Ief84bbe6e6fa4da5309912059904932ccf775b75 Merged-In: I70de9835c7699fe6f56fc3655b0fee5c317ecc3a Change-Id: I70de9835c7699fe6f56fc3655b0fee5c317ecc3a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions