Riddle Hsu
a68473ce97
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
2020-12-12 02:18:47 +00:00
..
2020-10-14 20:38:09 +00:00
2020-02-13 16:14:06 -05:00
2020-06-23 22:56:59 +00:00
2020-06-19 06:38:19 +00:00
2020-07-29 21:45:59 +00:00
2020-05-01 18:25:32 +00:00
2020-06-06 01:49:27 +08:00
2020-01-09 14:59:34 +00:00
2020-02-17 15:45:22 +08:00
2020-02-17 15:45:22 +08:00
2020-01-09 15:08:18 +00:00
2020-01-09 15:08:18 +00:00
2020-01-09 15:08:18 +00:00
2020-01-09 15:08:18 +00:00
2020-03-17 07:28:59 +00:00
2020-01-09 14:59:34 +00:00
2019-09-26 16:36:44 +00:00
2020-01-09 14:59:34 +00:00
2020-02-19 17:53:52 +08:00
2020-06-16 02:10:21 +08:00
2019-11-25 14:46:29 -08:00
2020-05-11 13:30:14 +08:00
2020-04-21 13:33:47 +08:00
2020-01-09 14:59:34 +00:00
2020-06-16 02:10:21 +08:00
2020-01-09 14:59:34 +00:00
2019-09-27 23:56:09 +00:00
2020-01-09 14:59:34 +00:00
2020-01-09 14:59:34 +00:00
2020-01-09 14:59:34 +00:00
2020-06-03 20:15:44 +00:00
2019-09-03 12:15:08 -07:00
2020-01-09 14:59:34 +00:00
2020-02-13 20:26:48 -08:00
2020-01-08 10:34:40 -08:00
2020-05-20 17:34:17 -07:00
2020-03-22 09:47:43 -07:00
2019-11-11 18:10:08 -08:00
2020-07-17 18:09:13 +02:00
2020-07-09 14:46:55 +02:00
2020-12-12 02:18:47 +00:00
2020-01-09 14:59:34 +00:00
2020-02-19 15:01:13 +00:00
2020-02-24 12:45:27 -08:00
2020-01-09 14:59:34 +00:00
2020-03-17 07:28:59 +00:00
2020-01-09 14:59:34 +00:00
2020-01-09 14:59:34 +00:00
2019-10-15 17:27:21 -07:00
2020-01-09 14:59:34 +00:00
2020-12-12 02:18:47 +00:00
2020-06-22 16:55:54 +02:00
2020-07-15 19:00:19 +08:00
2020-03-11 22:58:59 +01:00
2020-03-11 22:58:59 +01:00
2020-06-22 16:55:54 +02:00
2020-09-07 16:09:08 +08:00
2019-11-18 17:31:42 +08:00
2020-06-23 00:58:05 +08:00
2020-07-09 14:46:55 +02:00
2020-06-26 15:35:23 +02:00
2020-07-15 19:00:19 +08:00
2020-02-24 21:16:20 +00:00
2020-04-10 13:47:14 -07:00
2020-04-10 02:20:03 +08:00
2020-04-10 02:20:03 +08:00
2019-09-20 17:20:12 +00:00
2020-04-20 15:07:59 +00:00
2020-04-20 15:07:59 +00:00
2019-08-05 21:19:40 +02:00
2020-04-20 15:07:59 +00:00
2020-04-23 19:01:53 -07:00
2020-05-14 11:59:23 +08:00
2020-01-09 14:59:34 +00:00
2020-02-25 19:20:17 +00:00
2020-01-09 14:59:34 +00:00
2020-06-22 13:58:51 -07:00
2020-04-16 09:34:29 -04:00
2020-05-12 19:11:13 +01:00
2020-06-15 19:36:37 +08:00
2020-01-09 14:59:34 +00:00
2020-01-09 14:59:34 +00:00
2020-01-09 14:59:34 +00:00
2020-03-09 22:24:17 +08:00
2020-02-13 16:14:06 -05:00
2020-01-09 14:59:34 +00:00
2020-04-20 15:07:59 +00:00
2020-04-20 15:07:59 +00:00
2020-04-20 15:07:59 +00:00
2020-04-20 15:07:59 +00:00
2020-04-20 15:07:59 +00:00
2020-05-28 14:30:00 -07:00
2019-09-12 09:27:43 -07:00
2020-06-26 15:35:23 +02:00
2020-02-04 15:44:13 -08:00
2020-06-26 15:35:23 +02:00
2019-10-17 17:21:29 +00:00
2020-01-09 14:59:34 +00:00
2020-06-29 21:42:03 +00:00
2020-06-17 23:10:30 +00:00
2019-06-27 10:32:27 -07:00
2020-01-09 14:59:34 +00:00
2019-08-26 13:13:01 +00:00
2020-01-09 14:59:34 +00:00
2020-01-09 14:59:34 +00:00
2020-02-10 13:43:55 -08:00
2020-05-01 18:25:32 +00:00
2020-02-10 13:43:55 -08:00
2020-02-10 13:43:55 -08:00
2020-02-10 13:43:55 -08:00
2020-02-10 13:43:55 -08:00
2020-06-26 15:35:23 +02:00
2020-06-29 14:27:08 +00:00
2020-02-25 10:00:37 -08:00
2020-06-22 13:58:51 -07:00
2020-02-25 10:00:37 -08:00
2020-01-09 14:59:34 +00:00
2020-02-19 15:01:13 +00:00
2019-09-20 14:55:14 -07:00
2020-07-15 19:00:19 +08:00
2020-06-22 16:55:54 +02:00
2019-09-26 15:12:48 -07:00
2020-01-09 14:59:34 +00:00
2020-05-04 14:36:43 -07:00
2020-01-09 14:59:34 +00:00
2020-01-09 14:59:34 +00:00
2019-07-17 10:57:09 +08:00
2020-07-15 19:00:19 +08:00
2020-03-31 17:48:52 +02:00
2020-06-20 03:51:00 +00:00
2020-03-18 12:17:19 +01:00
2020-09-24 18:13:06 +00:00
2020-06-26 15:35:23 +02:00
2020-07-02 11:14:10 +02:00
2020-04-27 17:20:42 +00:00
2020-07-15 19:00:19 +08:00
2020-01-27 16:49:44 +08:00
2020-05-04 11:41:13 +08:00