Nikita Dubrovsky
832edc3cc9
Add unified API for inserting rich content (e.g. pasting an image)
...
The new callback provides a single API that apps can implement to
support the different ways in which rich content may be inserted.
The API is added to TextView and unifies the following code paths:
* paste from the clipboard (TextView.paste)
* content insertion from the IME (InputConnection.commitContent)
* drag and drop (Editor.onDrop)
* autofill (TextView.autofill)
Corresponding API in support lib: aosp/1200800
Bug: 152068298
Test: Manual and unit tests
atest FrameworksCoreTests:TextViewRichContentReceiverTest
atest FrameworksCoreTests:AutofillValueTest
atest FrameworksCoreTests:TextViewActivityTest
Change-Id: I6e03a398ccb6fa5526d0a282fc114f4e80285099
2020-03-31 15:15:36 -07:00
..
2020-03-19 01:06:44 +00:00
2020-02-13 16:14:06 -05:00
2020-03-31 15:15:36 -07:00
2020-03-29 12:50:41 +00:00
2020-03-31 03:37:24 +00:00
2020-03-29 17:29:32 -07:00
2020-03-18 02:27:40 +00:00
2020-02-17 15:45:22 +08:00
2020-02-17 15:45:22 +08:00
2020-03-10 11:46:10 -04:00
2020-03-17 07:28:59 +00:00
2020-02-19 17:53:52 +08:00
2020-03-24 17:05:50 +08:00
2020-03-02 15:44:36 +08:00
2020-03-02 10:53:43 -08:00
2020-02-03 09:17:40 -08:00
2020-02-13 20:26:48 -08:00
2020-03-22 09:47:43 -07:00
2020-03-13 19:22:49 +08:00
2020-02-28 19:33:11 +00:00
2020-02-29 22:30:29 -08:00
2020-02-19 15:01:13 +00:00
2020-02-24 12:45:27 -08:00
2020-03-17 07:28:59 +00:00
2020-03-13 17:11:52 +00:00
2020-03-24 14:25:47 +00:00
2020-03-11 22:58:59 +01:00
2020-03-11 22:58:59 +01:00
2020-03-19 23:35:24 +01:00
2020-03-30 19:22:37 +02:00
2020-03-26 06:58:07 +00:00
2020-03-30 19:22:37 +02:00
2020-03-11 22:58:59 +01:00
2020-03-26 06:58:07 +00:00
2020-02-24 21:16:20 +00:00
2020-03-27 11:10:12 -07:00
2020-02-25 21:13:16 +00:00
2020-03-10 10:52:28 -07:00
2020-03-05 15:25:19 +08:00
2020-03-23 22:31:52 +01:00
2020-02-25 19:20:17 +00:00
2020-02-24 12:45:27 -08:00
2020-03-11 21:53:03 -07:00
2020-03-27 20:11:31 +01:00
2020-03-09 22:24:17 +08:00
2020-02-13 16:14:06 -05:00
2020-03-27 23:43:47 +00:00
2020-03-27 23:43:47 +00:00
2020-02-04 15:44:13 -08:00
2020-03-24 10:12:32 -07:00
2020-03-25 06:42:05 +00:00
2020-03-09 23:55:48 +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-02-10 13:43:55 -08:00
2020-02-10 13:43:55 -08:00
2020-03-31 15:15:36 -07:00
2020-03-26 22:09:28 -07:00
2020-02-25 10:00:37 -08:00
2020-03-11 22:58:59 +01:00
2020-02-25 10:00:37 -08:00
2020-02-19 15:01:13 +00:00
2020-03-26 06:58:07 +00:00
2020-03-26 06:58:07 +00:00
2020-03-26 06:58:07 +00:00
2020-03-02 17:37:01 +01:00
2020-03-18 12:17:19 +01:00
2020-03-18 12:17:19 +01:00
2020-03-27 20:11:31 +01:00
2020-03-10 10:52:28 -07:00
2020-03-27 11:26:44 +00:00
2020-03-11 22:58:59 +01:00
2020-03-30 11:24:48 +08:00
2020-01-27 16:49:44 +08:00
2020-03-24 17:05:50 +08:00