Charles Chen
9854a1e315
Migrate WindowContext to WindowContextListener mechanism
...
1. Use registerWindowContextListener instead of
addWindowTokenWithOptions
2. Clean up the logic of sending the config to the client in WindowToken
3. Add a mechanism in WMS#addWindow, when a WindowContext adds a view,
the server side will switch to register the WindowToken for the
WindowContext.
In this way, we won't add a WindowToken until adding the fist view.
Also, we could apply an existing window token by overriding
WindowManager.LayoutParams.token.
Bug: 159767464
Bug: 153369119
Test: atest WindowContextTests WindowContextPolicyTests
Test: atest WindowContextTest
Test: atest WindowContextListenerControllerTests
Change-Id: I2396187c445306d18101706c4521edd9cf92facf
2021-02-04 23:27:03 +08:00
..
2021-02-03 06:41:02 +00:00
2021-02-01 14:54:34 +00:00
2020-12-11 00:53:23 +00:00
2020-10-15 10:48:01 -07:00
2020-12-08 08:36:27 -07:00
2021-01-29 14:49:55 +00:00
2020-12-08 16:01:16 +00:00
2021-02-01 14:54:34 +00:00
2021-01-05 21:08:48 +08:00
2021-01-05 18:27:51 -08:00
2021-02-03 19:34:54 +01:00
2021-01-08 16:19:39 +00:00
2021-01-24 17:19:41 -08:00
2020-12-14 14:56:59 +00:00
2021-01-14 16:47:56 +00:00
2021-02-03 10:25:20 +00:00
2021-02-02 23:54:25 +00:00
2021-01-27 05:29:24 +00:00
2020-12-13 15:28:56 +00:00
2021-02-02 23:54:25 +00:00
2021-01-25 14:24:31 -08:00
2021-01-22 13:43:55 -08:00
2020-09-03 10:13:57 +08:00
2021-01-08 13:25:11 +08:00
2021-02-03 10:19:25 +09:00
2020-11-30 12:54:29 -08:00
2020-12-07 00:39:42 -08:00
2020-11-04 09:45:53 +00:00
2021-02-02 07:12:02 +00:00
2020-08-13 23:23:31 +00:00
2021-02-02 11:42:40 -08:00
2021-01-19 10:43:18 -08:00
2021-01-22 01:52:00 +00:00
2020-06-19 19:43:03 +01:00
2020-11-04 12:40:58 -08:00
2020-10-15 10:48:01 -07:00
2020-12-04 09:51:40 -08:00
2021-01-05 21:08:48 +08:00
2020-08-06 18:39:30 -07:00
2021-01-22 03:09:15 +00:00
2020-08-03 11:36:54 +08:00
2020-11-04 09:45:53 +00:00
2020-10-15 10:48:01 -07:00
2020-11-04 09:45:53 +00:00
2020-05-05 21:59:24 +02:00
2021-01-12 21:44:52 +08:00
2021-01-13 16:10:54 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2021-01-29 20:58:52 -08:00
2021-01-22 00:54:35 +00:00
2021-02-02 10:15:16 +00:00
2021-01-22 21:56:16 +09:00
2021-01-27 05:29:24 +00:00
2021-01-22 17:35:41 +08:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2020-06-15 17:05:23 +00:00
2021-01-29 20:58:52 -08:00
2021-01-08 17:11:24 +00:00
2021-01-21 09:10:57 -08:00
2021-01-19 14:24:10 -08:00
2020-11-06 14:12:39 -08:00
2020-11-04 09:45:53 +00:00
2021-01-19 10:24:26 -08:00
2020-11-04 09:45:53 +00:00
2020-11-19 08:30:08 +00:00
2020-11-06 14:12:39 -08:00
2020-11-04 09:45:53 +00:00
2021-01-27 05:29:24 +00:00
2021-01-20 13:05:09 -08:00
2021-01-05 21:08:48 +08:00
2020-11-04 09:45:53 +00:00
2021-01-28 16:55:46 -05:00
2021-01-15 10:17:03 -05:00
2020-12-02 13:55:35 -07:00
2020-10-15 10:48:01 -07:00
2021-01-08 17:11:24 +00:00
2021-01-28 16:58:08 +00:00
2020-11-04 09:45:53 +00:00
2021-02-02 09:24:38 +00:00
2020-10-15 10:48:01 -07:00
2020-12-09 18:09:53 -08:00
2020-10-12 19:10:07 +08:00
2020-11-10 12:38:31 -08:00
2020-10-15 10:48:01 -07:00
2020-10-12 19:26:49 +00:00
2020-11-04 09:45:53 +00:00
2020-12-04 11:01:47 -08:00
2020-12-02 20:51:34 +08:00
2020-10-15 10:48:01 -07:00
2020-10-20 09:04:03 +01:00
2020-09-14 10:00:02 -06:00
2020-11-04 09:45:53 +00:00
2020-11-23 11:19:59 -08:00
2020-11-18 09:19:29 +00:00
2021-01-19 12:20:34 -08:00
2021-01-19 10:43:18 -08:00
2021-02-02 19:36:13 +00:00
2021-02-02 12:50:28 -08:00
2020-10-14 21:35:06 +00:00
2021-01-19 10:24:26 -08:00
2021-01-21 13:57:50 -08:00
2020-12-08 14:19:44 +00:00
2020-11-19 08:30:08 +00:00
2020-12-02 00:38:58 -08:00
2021-01-21 13:57:50 -08:00
2020-11-04 09:45:53 +00:00
2020-11-18 15:11:20 +08:00
2020-10-15 10:48:01 -07:00
2021-01-18 07:21:14 +00:00
2020-10-29 18:20:32 +08:00
2021-02-04 23:27:03 +08:00
2020-08-20 10:15:48 -07:00