Ming-Shin Lu
152eacec4f
Let IME#onFinishInput called without dup onStartInput when screen-off
...
Also called IME#onStartInput without dup onFinishInput when screen-on,
to fix the long-standing IME input connection lifecycle issue when
device screen state changes.
Bug: 156215187
Bug: 26851566
Test: atest InputMethodStartInputLifecycleTest
Test: manual as below steps
0) Enable InputMethodService debug flag.
0-1) In Settings -> Develop options -> AppCompatibility Changes,
Select Gboard and then toggle
"FINISH_INPUT_NO_FALLBACK_CONNECTION" change.
1) Launch a app with focused a editor and show soft-input
2) When device screen turned-off, will see InputMethodService only
callbacks below logs:
CALL: doFinishInput
CALL: onFinishInputView
CALL: onFinishInput
3) When device screen turned-on, will see InputMethodService only
callbacks below logs:
CALL: onStartInput
CALL: onStartInputView
Change-Id: I8a657e75e274d842fb46b60375f6aeafeab96a59
2020-11-25 23:32:49 +08:00
..
2020-11-05 02:01:30 +00:00
2020-11-17 15:26:58 -08:00
2020-10-20 09:04:03 +01:00
2020-11-25 23:32:49 +08:00
2020-10-29 15:23:24 +00:00
2020-10-29 11:51:12 +00:00
2020-10-29 11:51:12 +00:00
2020-09-08 18:46:08 +00:00
2020-10-29 11:51:12 +00:00
2020-11-06 16:32:26 +01:00
2020-10-15 10:48:01 -07:00
2020-10-15 10:48:01 -07:00
2020-10-15 10:48:01 -07:00
2020-10-29 11:51:12 +00:00
2020-10-15 10:48:01 -07:00
2020-10-29 11:51:12 +00:00
2020-06-15 19:26:38 -07:00
2020-07-24 22:03:51 +00:00
2020-10-29 11:51:12 +00:00
2020-08-03 11:36:54 +08:00
2020-07-08 23:06:14 +00:00
2020-05-20 17:34:17 -07:00
2020-11-25 23:32:49 +08:00
2020-11-03 12:42:54 -08:00
2020-11-02 16:41:14 +08:00
2020-10-29 11:51:12 +00:00
2020-10-29 11:51:12 +00:00
2020-11-17 14:58:46 -08:00
2020-10-29 11:51:12 +00:00
2020-10-29 11:51:12 +00:00
2020-10-29 11:51:12 +00:00
2020-11-02 16:41:14 +08:00
2020-06-22 16:55:54 +02:00
2020-11-13 14:30:13 +00:00
2020-09-29 15:05:18 +02:00
2020-10-21 20:20:21 +08:00
2020-11-13 14:30:13 +00:00
2020-09-28 02:04:21 +08:00
2020-10-15 10:48:01 -07:00
2020-11-13 14:30:13 +00:00
2020-10-07 20:27:32 +02:00
2020-11-18 10:59:15 +08:00
2020-06-30 13:36:04 +02:00
2020-10-22 22:36:40 -07:00
2020-10-29 11:51:12 +00:00
2020-10-29 11:51:12 +00:00
2020-10-19 14:48:32 -04:00
2020-10-19 14:48:32 -04:00
2020-10-19 14:48:32 -04:00
2020-11-19 08:30:08 +00:00
2020-10-29 11:51:12 +00:00
2020-10-29 11:51:12 +00:00
2020-10-13 02:25:52 +00:00
2020-10-29 11:51:12 +00:00
2020-10-29 11:51:12 +00:00
2020-10-15 10:48:01 -07:00
2020-10-29 11:51:12 +00:00
2020-11-20 14:39:45 -05:00
2020-11-20 14:39:44 -05:00
2020-11-17 15:26:58 -08:00
2020-06-15 19:36:37 +08:00
2020-10-29 11:51:12 +00:00
2020-10-14 19:02:17 +00:00
2020-10-29 11:51:12 +00:00
2020-10-22 19:49:12 +02:00
2020-10-29 11:51:12 +00:00
2020-10-19 14:48:32 -04:00
2020-10-19 14:48:32 -04:00
2020-10-19 14:48:32 -04:00
2020-10-19 14:48:32 -04:00
2020-11-17 11:53:14 +01:00
2020-11-17 11:53:14 +01:00
2020-09-15 14:48:13 -07:00
2020-10-29 11:51:12 +00:00
2020-11-05 11:22:51 -08:00
2020-10-30 01:47:34 +00:00
2020-10-29 11:51:12 +00:00
2020-10-16 13:53:05 +00:00
2020-10-29 11:51:12 +00:00
2020-11-04 12:40:58 -08:00
2020-11-04 12:40:58 -08:00
2020-11-17 15:26:58 -08:00
2020-11-02 12:52:36 +00:00
2020-10-29 11:51:12 +00:00
2020-10-29 11:51:12 +00:00
2020-10-29 11:51:12 +00:00
2020-08-19 11:13:22 -07:00
2020-11-18 09:26:46 +00:00
2020-10-21 20:20:21 +08:00
2020-11-11 23:16:32 +00:00
2020-10-29 11:51:12 +00:00
2020-11-11 23:16:32 +00:00
2020-10-29 11:51:12 +00:00
2020-10-29 11:51:12 +00:00
2020-11-18 10:59:15 +08:00
2020-06-20 03:51:00 +00:00
2020-09-24 18:13:06 +00:00
2020-11-17 11:22:19 +08:00
2020-11-18 15:05:29 +01:00
2020-10-29 11:51:12 +00:00
2020-11-16 14:19:36 +08:00
2020-07-17 08:44:19 -07:00