Wilson Wu
08f5b9c846
Prevent addtional removeSurface calls
...
The surface may not be cleared by its owner when
it lose control last time. We had CL[1] to clean
up the surface if we don't plan to show.
Add new checking condition for last control, so
once we have control we only remove the surface
if last control was null.
[1]: I4910c2a06cc67b0470477b245fc1de54b75f10f9
Bug: 185557884
Test: atest InsetsSourceConsumerTest
Change-Id: I1a4f05f9b4cf6fa121554ff0abc9fdc418b95276
2021-04-22 12:46:35 +08:00
..
2021-04-09 16:33:40 +00:00
2020-12-08 11:01:05 -07:00
2021-03-24 13:46:34 -07:00
2021-04-19 22:08:54 -07:00
2021-04-14 17:24:09 -05:00
2021-04-16 05:14:30 +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
2021-04-21 11:22:30 +00: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
2020-09-08 18:46:08 +00:00
2021-04-14 22:16:24 +00:00
2021-03-25 09:37:21 -07:00
2021-03-12 11:03:31 +01:00
2021-04-12 13:10:06 +02:00
2020-10-15 10:48:01 -07:00
2021-02-02 16:33:34 +08:00
2021-01-28 19:12:54 +08:00
2021-04-13 19:58:27 +00:00
2021-04-06 15:33:19 -07:00
2021-03-12 08:08:57 -08:00
2020-11-04 09:45:53 +00:00
2020-06-15 19:26:38 -07:00
2020-07-24 22:03:51 +00:00
2021-04-13 15:18:27 +00: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
2020-07-08 23:06:14 +00:00
2020-05-20 17:34:17 -07:00
2021-03-01 23:41:22 +08:00
2021-03-30 03:10:21 +00:00
2020-12-12 02:18:47 +00:00
2020-11-04 09:45:53 +00:00
2021-04-12 16:34:54 +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
2020-12-12 02:18:47 +00:00
2020-06-22 16:55:54 +02:00
2021-03-22 12:21:48 +08:00
2020-09-29 15:05:18 +02:00
2021-03-16 23:33:31 +08:00
2021-04-20 13:05:07 +00:00
2021-01-29 17:28:15 +00:00
2021-02-24 23:33:16 +08:00
2021-04-22 12:46:35 +08:00
2021-03-16 23:33:31 +08:00
2021-04-05 17:35:57 +08:00
2021-02-25 04:57:26 +00:00
2021-03-25 12:07:20 -07:00
2020-12-13 15:28:56 +00: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-03-16 02:07:53 +00:00
2021-04-16 23:25:12 +00:00
2021-02-17 08:24:54 -08:00
2021-03-12 10:51:09 -08:00
2020-10-13 02:25:52 +00:00
2021-01-08 11:43:36 +01:00
2021-04-07 21:58:42 +08:00
2020-12-14 18:35:45 -08:00
2021-04-19 14:02:52 +00:00
2021-03-03 16:04:45 -05:00
2021-03-22 11:13:08 -04:00
2020-12-14 22:04:57 -08: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
2020-10-14 19:02:17 +00:00
2020-11-04 09:45:53 +00:00
2021-02-26 20:37:13 +08:00
2021-03-31 09:59:03 -07:00
2021-03-25 18:26:02 +08:00
2021-02-02 16:33:34 +08:00
2021-03-09 13:01:47 +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-03-16 02:07:53 +00:00
2021-02-25 23:02:17 +00:00
2021-02-25 23:02:17 +00:00
2021-02-25 23:02:17 +00:00
2021-03-24 14:24:55 +01:00
2021-03-24 21:34:04 +01:00
2021-04-20 16:50:58 -07:00
2021-03-05 12:20:18 -08:00
2021-03-31 14:29:03 -04:00
2021-03-23 10:42:15 -07:00
2021-02-09 14:54:42 -08:00
2021-04-09 10:35:03 -05:00
2021-04-15 22:53:02 -07:00
2020-11-20 20:11:58 +08:00
2020-11-04 09:45:53 +00:00
2020-12-01 15:07:50 -10:00
2020-11-04 09:45:53 +00:00
2020-11-04 12:40:58 -08:00
2020-11-04 12:40:58 -08:00
2021-04-21 00:29:24 +00:00
2021-04-07 21:58:42 +08:00
2020-11-04 09:45:53 +00:00
2021-03-04 03:11:19 +00:00
2021-04-20 16:09:14 +00:00
2020-11-04 09:45:53 +00:00
2020-08-19 11:13:22 -07:00
2021-03-30 04:10:05 +00:00
2021-04-17 13:24:48 -07:00
2020-10-21 20:20:21 +08:00
2021-03-26 10:48:58 -07:00
2020-11-04 09:45:53 +00:00
2021-03-31 14:33:58 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2021-02-02 16:33:34 +08:00
2021-01-28 15:19:14 +08:00
2021-01-28 15:19:14 +08:00
2021-01-28 15:19:14 +08:00
2021-01-29 17:28:15 +00:00
2021-03-10 21:11:34 +00:00
2021-04-16 23:25:12 +00:00
2021-03-16 10:05:52 -07:00
2021-04-16 11:37:52 +08:00
2021-01-20 20:08:37 -05:00
2021-03-24 06:36:30 +00:00