Shu Chen
62f51e6722
Makes the multi-touch prevention only works for editable TextView.
...
The original logic of preventing the multi-touch issue for the edtiable
text view was introduced by ag/10930920.
Turns out the non-editable text views are affected.
The root cause of the issue is that:
- the ACTION_DOWN/ACTION_UP events, as well as ACTION_PONITER_DOWN /
ACTION_POINTER_UP, could be generated by different fingers,
- and View#onTouchEvent() gets muted when isFromPrimePointer() == false,
- so that no gesture is generated, e.g. click, long press, etc.
Note that View#onTouchEvent() is necessary to be muted to prevent long press
on text or scrolling while dragging the insertion handle view.
Bug: 169288151
Change-Id: Ia763e94be727ad23bb13839f146293f1579d03ec
(cherry picked from commit 265096d9da )
2020-10-23 05:31:30 +00:00
..
2020-08-03 13:06:38 -07:00
2020-04-15 18:36:11 -07:00
2019-03-04 16:46:15 -05:00
2019-12-18 16:27:02 +00:00
2019-02-28 23:29:04 -07:00
2019-12-18 16:27:02 +00:00
2019-12-18 16:27:02 +00:00
2019-12-18 16:27:02 +00:00
2019-12-18 16:27:02 +00:00
2019-12-18 16:27:02 +00:00
2019-02-28 23:29:04 -07:00
2019-02-07 16:46:38 -08:00
2020-03-10 18:05:02 -07:00
2018-11-15 09:50:16 -08:00
2019-12-18 16:27:02 +00:00
2020-04-15 18:36:11 -07:00
2019-12-18 16:27:02 +00:00
2019-12-18 16:27:02 +00:00
2019-12-18 16:27:02 +00:00
2019-02-07 16:46:38 -08:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2019-04-17 17:41:04 +01:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2019-02-07 16:46:38 -08:00
2020-01-06 12:27:42 +00:00
2020-08-05 20:15:49 +00:00
2020-08-05 20:15:49 +00:00
2020-03-17 18:30:08 +00:00
2019-02-28 23:29:04 -07:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-04-28 18:06:25 -07:00
2020-01-06 12:27:42 +00:00
2020-04-24 18:06:14 -04:00
2020-02-04 13:33:49 -08:00
2020-06-26 15:35:23 +02:00
2020-01-06 12:27:42 +00:00
2020-04-15 18:36:11 -07:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-02-26 10:10:44 -08:00
2020-09-08 19:15:19 +00:00
2020-01-06 12:27:42 +00:00
2019-02-07 16:46:38 -08:00
2019-12-13 10:25:39 -08:00
2020-04-06 14:00:21 -07:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-04-21 22:59:26 +00:00
2020-01-06 12:27:42 +00:00
2018-12-04 02:33:53 -08:00
2018-12-04 02:33:53 -08:00
2020-01-23 20:43:34 +00:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-04-15 18:36:11 -07:00
2020-01-06 12:27:42 +00:00
2020-06-08 17:54:47 +00:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-04-15 18:36:11 -07:00
2020-01-06 12:27:42 +00:00
2020-01-03 18:11:08 +00:00
2019-01-19 11:49:37 -08:00
2020-01-06 12:27:42 +00:00
2019-07-31 13:59:42 -07:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2019-03-04 16:46:15 -05:00
2020-01-06 12:27:42 +00:00
2020-04-03 08:48:00 +01:00
2020-03-10 18:05:02 -07:00
2020-10-23 05:31:30 +00:00
2020-01-06 12:27:42 +00:00
2019-01-09 06:39:18 -08:00
2020-05-01 18:25:32 +00:00
2020-06-17 22:53:43 +00:00
2019-12-16 17:58:20 -08:00
2020-01-06 12:27:42 +00:00
2019-02-07 16:46:38 -08:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-01-06 12:27:42 +00:00
2020-08-05 20:15:49 +00:00
2020-01-06 12:27:42 +00:00