Shu Chen
265096d9da
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
2020-10-22 12:26:52 +08:00
..
2020-08-18 01:00:38 +00:00
2020-07-29 17:24:22 -07:00
2020-09-14 10:00:07 -06:00
2020-01-09 14:59:34 +00:00
2020-01-09 14:59:34 +00:00
2020-10-15 10:48:01 -07:00
2020-01-09 14:59:34 +00:00
2020-01-09 14:59:34 +00:00
2020-03-10 18:05:02 -07:00
2020-01-10 15:16:49 +00:00
2020-04-15 18:36:11 -07:00
2020-01-09 14:59:34 +00:00
2020-01-09 14:59:34 +00:00
2020-07-20 21:09:40 +01:00
2020-01-09 14:59:34 +00:00
2020-07-14 17:12:07 -07:00
2020-01-09 15:15:51 +00:00
2020-09-14 10:00:07 -06:00
2020-07-06 21:30:24 +01:00
2020-01-09 15:15:51 +00:00
2020-07-20 21:09:40 +01:00
2020-01-09 15:15:51 +00:00
2020-10-16 16:40:40 -07:00
2020-08-05 20:15:49 +00:00
2020-03-17 18:30:08 +00:00
2020-09-14 10:00:02 -06:00
2020-01-09 15:15:51 +00:00
2020-01-09 15:15:51 +00:00
2020-01-09 15:15:51 +00:00
2020-07-29 17:24:22 -07:00
2020-10-15 10:48:01 -07:00
2020-01-09 15:15:51 +00:00
2020-01-09 15:15:51 +00:00
2020-09-14 10:00:07 -06:00
2020-01-09 15:15:51 +00:00
2020-04-28 18:06:25 -07:00
2020-01-09 15:15:51 +00:00
2020-04-24 18:06:14 -04:00
2020-02-04 13:33:49 -08:00
2020-08-31 21:21:38 -07:00
2020-01-09 15:15:51 +00:00
2020-09-14 10:00:07 -06:00
2020-01-09 15:15:51 +00:00
2020-01-09 15:15:51 +00:00
2020-02-26 10:10:44 -08:00
2020-08-31 13:03:18 -07:00
2020-01-09 15:15:51 +00:00
2019-12-13 10:25:39 -08:00
2020-09-14 10:00:07 -06:00
2020-01-09 15:15:51 +00:00
2020-01-15 16:15:41 -08:00
2020-10-15 10:48:01 -07:00
2020-10-15 10:48:01 -07:00
2020-01-23 20:43:34 +00:00
2020-01-09 15:15:51 +00:00
2020-09-14 10:00:07 -06:00
2020-10-14 14:54:31 -07:00
2020-01-09 15:15:51 +00:00
2020-07-08 02:16:23 +00:00
2020-01-09 15:15:51 +00:00
2020-01-09 15:15:51 +00:00
2020-08-31 21:21:38 -07:00
2020-01-09 15:15:51 +00:00
2020-01-03 18:11:08 +00:00
2020-10-05 23:29:14 -07:00
2020-01-09 15:15:51 +00:00
2019-07-31 13:59:42 -07:00
2020-07-14 17:12:07 -07:00
2020-01-09 15:15:51 +00:00
2020-09-14 10:00:07 -06:00
2020-01-09 15:15:51 +00:00
2020-09-25 10:05:39 +00:00
2020-08-31 21:21:38 -07:00
2020-10-22 12:26:52 +08:00
2020-10-16 16:40:40 -07:00
2020-07-20 21:09:40 +01:00
2020-07-20 21:09:40 +01:00
2020-05-01 18:25:32 +00:00
2020-09-30 20:48:29 -04:00
2020-07-14 17:12:07 -07:00
2020-01-09 15:15:51 +00:00
2020-01-09 15:15:51 +00:00
2020-01-09 15:15:51 +00:00
2020-01-09 15:15:51 +00:00
2020-08-05 20:15:49 +00:00
2020-01-09 15:15:51 +00:00