Robert Carr
0cfda55b95
DO NOT MERGE: SurfaceControlViewHost: Restrict disclosure of input token
...
Currently we send the input (channel) token from the embedded
view hierarchy to the remote embedding process via SurfacePackage.
This is used to call grantEmbeddedWindowFocus. However this could also
allow the host process to invoke updateInputChannel, which is not
desirable. To fix this we rework updateInputChannel to work in terms
of a focusGrantToken, which only carries this 1 capability.
SurfacePackage is modified to not include the input token, but rather
include this focus grant token.
Bug: 215912712
Test: SurfaceControlViewHostTests
Change-Id: Ie278f678f12f50c32f142a4260ff7d1c2a9ca57c
(cherry picked from commit 501ee91b95 )
2022-04-05 19:21:55 +00:00
..
2021-10-13 06:52:18 -07:00
2021-09-27 23:42:32 +02:00
2021-07-02 03:00:50 +00:00
2022-01-31 20:58:51 +00:00
2021-04-14 17:24:09 -05:00
2021-09-23 16:10:15 +00:00
2020-12-08 08:36:27 -07:00
2021-04-09 12:27:40 +01:00
2021-04-20 14:28:56 +00:00
2022-03-24 15:19:05 +08:00
2021-04-09 02:30:34 +00:00
2020-11-04 09:45:53 +00:00
2021-02-26 20:37:13 +08:00
2021-10-11 16:28:20 -07:00
2022-01-07 02:22:28 +00:00
2021-04-14 22:16:24 +00:00
2021-04-30 11:09:04 -07:00
2021-06-22 16:45:35 -07:00
2021-12-01 09:57:48 +00:00
2021-02-02 16:33:34 +08:00
2021-08-25 15:58:28 +08:00
2021-04-13 19:58:27 +00:00
2021-12-01 09:57:48 +00:00
2021-05-03 16:36:56 +00:00
2020-11-04 09:45:53 +00:00
2021-05-03 15:49:25 +02:00
2021-03-05 21:42:32 +00:00
2021-04-07 21:58:42 +08:00
2020-11-26 15:31:57 +00:00
2021-03-29 21:52:07 -04:00
2021-03-01 22:23:22 +01:00
2021-09-01 13:37:31 -07:00
2021-03-01 23:41:22 +08:00
2021-11-24 12:12:13 +00:00
2020-12-12 02:18:47 +00:00
2020-11-04 09:45:53 +00:00
2021-06-30 21:07:38 +00:00
2021-03-22 07:59:18 +00:00
2021-03-24 12:36:46 +00:00
2021-03-24 12:36:46 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2021-08-23 20:37:01 +00:00
2021-09-03 04:24:34 +08:00
2021-11-02 16:19:18 +00:00
2021-05-31 18:08:31 +08:00
2021-09-03 04:24:34 +08:00
2021-11-19 09:18:21 +00:00
2021-01-29 17:28:15 +00:00
2021-11-19 09:18:21 +00:00
2021-02-24 23:33:16 +08:00
2021-04-22 07:41:49 +00:00
2021-08-30 22:43:46 +08:00
2021-11-30 17:19:46 +00:00
2021-07-26 21:55:34 +08:00
2021-09-15 06:28:09 +00:00
2021-09-03 04:24:34 +08:00
2021-02-25 04:57:26 +00:00
2021-06-08 21:44:12 +08:00
2021-11-08 18:30:17 -08:00
2021-02-04 18:38:44 +01:00
2021-03-16 02:07:53 +00:00
2021-03-16 02:07:53 +00:00
2021-03-16 02:07:53 +00:00
2021-06-09 15:52:39 +08:00
2021-11-30 17:19:46 +00:00
2022-04-05 19:21:55 +00:00
2021-03-12 10:51:09 -08:00
2021-06-30 21:07:38 +00:00
2021-04-07 21:58:42 +08:00
2020-12-14 18:35:45 -08:00
2021-12-16 09:19:29 +00:00
2021-05-19 13:37:24 -04:00
2021-03-22 11:13:08 -04:00
2021-05-21 15:53:15 -07:00
2021-03-31 18:50:52 +00:00
2021-01-19 23:33:21 +08:00
2020-11-04 09:45:53 +00:00
2021-05-20 09:43:49 -07:00
2021-07-08 09:02:59 -07:00
2021-02-26 20:37:13 +08:00
2021-12-03 20:50:00 +08:00
2021-03-25 18:26:02 +08:00
2021-02-02 16:33:34 +08:00
2021-08-25 15:58:28 +08:00
2021-02-25 23:02:17 +00:00
2021-04-15 13:31:48 -04:00
2021-02-25 23:02:17 +00:00
2021-08-11 18:57:28 +00:00
2021-02-25 23:02:17 +00:00
2021-02-25 23:02:17 +00:00
2021-07-01 14:43:49 +00:00
2021-03-24 14:24:55 +01:00
2021-09-03 17:03:23 +00:00
2021-10-12 09:44:15 -07:00
2021-03-05 12:20:18 -08:00
2021-03-31 14:29:03 -04:00
2022-04-05 19:21:55 +00:00
2021-02-09 14:54:42 -08:00
2022-01-11 16:51:28 +00:00
2021-05-07 18:53:00 +00:00
2021-10-12 20:47:53 +02:00
2021-11-03 14:01:40 +01:00
2021-04-28 11:55:49 -07:00
2020-11-04 09:45:53 +00:00
2020-12-01 15:07:50 -10:00
2021-05-17 20:55:19 +02:00
2020-11-04 09:45:53 +00:00
2021-06-30 21:07:38 +00:00
2021-06-30 21:07:38 +00:00
2021-06-30 21:07:38 +00:00
2021-11-04 17:26:04 +00:00
2021-08-26 12:43:36 +00:00
2021-06-11 01:52:14 +00:00
2021-03-04 03:11:19 +00:00
2021-05-14 21:15:18 +00:00
2020-11-04 09:45:53 +00:00
2021-09-17 11:26:18 -07:00
2022-03-09 14:55:07 +00:00
2022-03-24 12:17:37 +00:00
2021-03-26 10:48:58 -07:00
2020-11-04 09:45:53 +00:00
2021-05-18 12:47:10 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2021-08-03 00:56:02 +00:00
2021-11-30 17:19:46 +00:00
2021-06-21 21:34:51 +02:00
2021-09-03 04:24:34 +08:00
2021-01-28 15:19:14 +08:00
2021-01-29 17:28:15 +00:00
2022-04-05 19:21:55 +00:00
2021-11-30 17:19:46 +00:00
2021-10-19 15:27:55 -04:00
2021-11-30 17:19:46 +00:00
2021-11-23 15:08:48 +08:00
2021-03-24 06:36:30 +00:00