Candice Lo
48999d3808
Doing null check before generating Extra Dim tooltip
...
Since the lifecycle of controller is independent of that of preference,
we do null check on the switch to avoid generating tooltip from the
switch when it is not ready. The fix is a temporary solution for the
issue and we would like to move the logic of tooltip to systemUI to
match the general view's lifecycle in the future.
Bug: 286810561
Test: manually - check the tooltip won't be shown and also won't cause exception after rotating the phone. (The switch view has not been created if it is out of screen.)
Test: manually - attach video to the bug
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityQuickSettingsPrimarySwitchPreferenceControllerTest
Change-Id: I75d810e4b85baf06d57a3e31797a55daac791b79
2023-06-17 09:37:04 +00:00
..
2023-05-12 13:46:53 +08:00
2022-05-13 08:13:36 +00:00
2021-07-15 11:11:17 +08:00
2023-03-20 21:24:02 +08:00
2023-03-20 21:24:02 +08:00
2021-07-15 11:11:17 +08:00
2023-02-18 08:43:36 +08:00
2022-05-13 08:13:36 +00:00
2022-07-18 15:50:52 +08:00
2022-12-28 02:35:54 +08:00
2023-02-16 05:59:01 +00:00
2022-03-16 06:13:20 +08:00
2022-05-13 08:13:36 +00:00
2023-02-20 04:00:26 +00:00
2023-05-12 13:46:53 +08:00
2023-05-12 13:46:53 +08:00
2023-02-16 05:59:01 +00:00
2021-09-22 18:36:46 +08:00
2021-09-22 18:36:46 +08:00
2023-06-17 09:37:04 +00:00
2022-03-10 07:51:48 +08:00
2022-01-24 08:10:43 +08:00
2022-01-11 18:53:51 -08:00
2023-03-15 22:39:24 +00:00
2022-01-20 08:38:27 +00:00
2023-03-01 16:38:45 +08:00
2023-03-20 21:42:21 +00:00
2023-02-15 06:32:57 +08:00
2021-11-01 15:00:18 +08:00
2023-05-11 22:23:16 +08:00
2021-11-01 15:00:18 +08:00
2023-05-19 06:03:55 +00:00
2022-07-18 15:50:52 +08:00
2022-07-18 15:50:52 +08:00
2022-07-18 15:50:52 +08:00
2023-03-15 22:39:24 +00:00
2022-01-18 16:03:01 +00:00
2022-01-18 16:03:01 +00:00
2022-02-09 10:50:28 +01:00
2023-03-15 22:39:24 +00:00
2022-12-27 12:12:11 +08:00
2023-02-09 10:17:25 +08:00
2023-02-09 10:17:25 +08:00
2021-08-30 07:16:35 +00:00
2023-02-09 10:17:25 +08:00
2023-04-24 06:12:23 +00:00
2022-08-02 10:25:15 +08:00
2022-08-02 10:25:15 +08:00
2022-08-02 10:25:15 +08:00
2022-08-17 12:00:43 +08:00
2022-08-02 10:25:15 +08:00
2022-08-02 10:25:15 +08:00
2022-08-02 10:25:15 +08:00
2022-08-02 10:25:15 +08:00
2023-03-20 21:24:02 +08:00
2022-08-02 10:25:15 +08:00
2022-08-17 12:00:43 +08:00
2022-08-02 10:25:15 +08:00
2022-08-02 10:25:15 +08:00
2022-08-02 10:25:15 +08:00
2022-08-02 10:25:15 +08:00
2022-08-02 10:25:15 +08:00
2022-08-02 10:25:15 +08:00
2022-08-02 10:25:15 +08:00
2023-03-20 21:24:02 +08:00
2022-08-17 12:00:43 +08:00
2022-08-02 10:25:15 +08:00
2022-07-25 09:18:11 +08:00
2022-12-09 20:42:47 +08:00
2023-02-09 21:00:50 +08:00
2021-07-20 17:01:21 -04:00
2022-09-06 09:43:37 +08:00
2023-01-17 17:30:12 +00:00
2023-05-05 09:54:04 +00:00
2023-03-16 16:08:46 +08:00
2023-03-28 06:11:52 +00:00
2023-02-20 09:49:03 +00:00
2023-03-13 17:45:30 +08:00
2023-05-09 16:48:35 +00:00
2023-05-09 16:48:35 +00:00
2023-02-23 09:17:03 +00:00
2023-03-20 21:24:02 +08:00
2022-04-19 08:15:28 +08:00
2023-03-07 15:42:29 +00:00
2022-04-27 15:25:30 +08:00
2022-02-22 19:01:51 +00:00
2022-01-12 22:59:29 +00:00
2023-05-12 13:46:53 +08:00
2023-01-14 03:42:08 +00:00
2022-09-15 06:21:43 +00:00
2023-05-25 11:20:11 +00:00
2023-06-01 09:54:35 +00:00
2023-05-12 13:46:53 +08:00
2023-05-12 13:46:53 +08:00
2023-03-16 16:08:46 +08:00
2023-05-12 13:46:53 +08:00
2023-04-14 18:25:28 +08:00
2023-05-12 13:46:53 +08:00
2023-05-12 13:46:53 +08:00
2022-04-27 15:25:30 +08:00
2021-11-01 15:00:18 +08:00
2022-11-18 22:18:27 +00:00
2022-03-24 17:25:58 +00:00
2023-01-31 21:48:49 +00:00
2022-01-20 08:38:27 +00:00
2023-03-15 22:39:24 +00:00
2023-02-10 19:19:11 +00:00
2023-02-16 05:59:01 +00:00
2023-03-15 22:39:24 +00:00
2023-02-16 09:49:01 +01:00
2023-02-16 09:49:01 +01:00
2022-01-24 11:01:08 +00:00
2022-01-12 22:59:29 +00:00
2023-02-01 19:17:51 +08:00
2023-03-16 16:08:46 +08:00
2023-04-26 01:37:42 +00:00
2021-11-01 15:00:18 +08:00
2022-07-14 16:55:08 +08:00
2022-02-10 16:09:55 +08:00
2023-06-17 09:36:40 +00:00
2021-11-01 15:00:18 +08:00
2021-11-01 15:00:18 +08:00
2022-03-10 06:57:02 +08:00
2022-11-18 22:18:27 +00:00
2022-01-19 14:40:18 +00:00
2022-03-31 16:12:38 +01:00
2022-01-19 14:40:18 +00:00
2023-02-09 10:17:25 +08:00
2023-02-09 10:17:25 +08:00
2023-02-09 21:00:50 +08:00
2023-02-09 21:00:50 +08:00
2023-04-24 06:12:23 +00:00
2023-03-20 21:24:02 +08:00
2022-03-23 19:44:33 +08:00
2022-04-27 15:25:30 +08:00
2022-04-27 15:25:30 +08:00
2022-04-27 15:25:30 +08:00
2022-04-27 15:25:30 +08:00
2023-03-31 17:38:14 +00:00
2023-03-01 16:38:45 +08:00
2022-12-23 11:22:00 +08:00
2022-12-12 19:32:52 +08:00
2022-12-23 11:22:00 +08:00
2023-02-15 06:32:57 +08:00
2022-12-11 22:11:02 +08:00
2023-01-06 12:14:47 -08:00
2022-12-27 12:12:11 +08:00
2022-05-13 08:13:36 +00:00
2022-07-29 14:50:05 +08:00
2022-07-29 14:50:05 +08:00
2023-02-16 05:59:01 +00:00
2022-07-13 00:40:55 +08:00
2023-05-16 06:27:44 +00:00
2023-02-16 05:59:01 +00:00
2023-05-12 15:57:56 +00:00
2023-03-01 16:38:45 +08:00
2023-03-01 16:38:45 +08:00
2023-03-01 16:38:45 +08:00
2022-03-21 18:33:44 +00:00
2022-03-21 18:33:44 +00:00
2022-03-21 18:33:44 +00:00
2023-03-15 22:39:24 +00:00
2022-03-21 18:33:44 +00:00
2022-08-08 20:25:44 +08:00
2022-01-24 11:01:08 +00:00
2023-04-14 18:25:28 +08:00