Chaohui Wang
8397287f87
Fix flicker for Data Usage page
...
Both "Mobile data usage" & "Non-carrier data usage".
By,
1. Use summary placeholder for usage amount to avoid shift
2. Before fix CycleListener's onItemSelected() is called multiple times,
cause the app list to flash, let DataUsageList to handle the dedup
logic to better handling.
3. Before fix if return from App Usage page, no loading view is
displayed (only first enter has it), move this to onResume() to fix.
4. Before fix the cycles passed to App Usage page is cached (even when
the cycles are changed), clear the cache when onResume() to fix.
5. Listener in SpinnerPreference could be null, add safety guard to it.
Cherry-pick from Change-Id: I95e544c46333496f4f30ed77dafa4779b4d66019
Fix: 277162513
Test: manual visual test
Test: Unit test
Change-Id: I50fb79aa3c888651a79fd1d030da554bebb6a660
2023-04-22 08:47:22 +08:00
..
2022-07-29 14:50:05 +08:00
2023-03-03 00:53:07 +00:00
2023-02-16 05:59:01 +00:00
2023-03-16 16:08:46 +08:00
2022-05-10 08:42:15 +00:00
2023-03-31 03:59:09 +00:00
2023-03-20 21:24:02 +08:00
2022-07-05 15:32:37 +08:00
2023-02-06 21:39:24 +00:00
2023-02-06 21:39:24 +00:00
2023-03-24 16:42:26 +00:00
2022-11-21 22:23:21 +08:00
2022-11-09 10:52:35 +00:00
2023-04-19 17:00:46 +08:00
2022-05-05 09:12:59 +00:00
2022-05-11 15:20:52 +08:00
2023-03-15 09:08:10 -04:00
2022-11-28 11:58:19 +00:00
2022-04-25 23:16:45 +00:00
2022-03-18 11:07:46 +00:00
2023-03-16 16:08:46 +08:00
2023-03-21 15:10:38 +08:00
2022-06-01 06:40:07 +00:00
2023-02-09 10:17:25 +08:00
2023-02-17 19:37:16 +00:00
2023-02-02 01:33:06 +00:00
2022-08-02 10:25:15 +08:00
2022-08-02 10:25:15 +08:00
2023-02-16 05:59:01 +00:00
2023-02-01 14:10:04 +08:00
2022-12-21 04:10:56 +00:00
2023-03-31 03:59:09 +00:00
2023-02-02 15:22:47 -08:00
2022-04-15 09:51:30 +00:00
2023-03-20 13:04:11 +00:00
2023-04-22 08:47:22 +08:00
2022-12-21 16:39:32 +00:00
2023-02-09 13:26:27 -08:00
2023-04-14 13:20:06 +00:00
2022-12-16 16:49:54 +00:00
2023-03-28 18:06:07 +00:00
2023-03-09 14:58:26 -05:00
2022-09-30 15:15:50 +08:00
2023-03-31 03:59:09 +00:00
2022-05-24 05:08:16 +00:00
2022-05-03 18:28:52 +08:00
2023-04-14 18:25:28 +08:00
2022-09-29 15:03:02 +08:00
2023-02-02 14:52:38 +08:00
2023-03-28 14:15:08 +00:00
2022-12-29 21:54:21 +08:00
2023-03-15 12:10:21 +08:00
2023-01-18 15:22:27 +08:00
2022-05-16 15:59:21 +08:00
2022-06-07 04:17:39 +00:00
2022-11-18 07:14:12 +00:00
2022-08-18 11:57:13 +00:00
2022-12-14 00:54:46 +00:00
2023-02-14 16:04:50 -08:00
2022-12-21 22:45:06 +08:00
2023-02-13 15:44:59 +00:00
2022-12-21 17:39:28 +00:00
2023-02-14 16:04:50 -08:00
2023-01-18 13:11:23 +00:00
2022-11-22 11:59:26 +00:00
2022-12-10 09:34:20 +00:00
2022-12-13 10:47:07 +08:00
2022-12-13 10:47:07 +08:00
2022-10-17 13:59:31 -04:00
2022-12-21 22:45:06 +08:00
2022-07-22 16:07:52 +02:00
2023-02-06 17:38:29 +08:00
2022-09-04 15:48:55 +00:00
2023-04-17 16:50:21 +08:00
2022-04-15 09:51:30 +00:00
2022-07-13 11:31:16 -07:00
2023-01-09 16:47:35 -08:00
2023-01-09 22:54:57 +08:00
2023-04-11 09:28:20 +00:00
2023-01-09 22:54:57 +08:00
2022-12-15 15:44:08 +00:00
2023-03-14 02:27:51 +00:00
2023-02-14 10:57:36 +00:00
2022-11-21 16:42:45 -08:00
2023-01-26 17:04:22 +00:00
2023-02-04 05:29:33 +00:00
2023-04-13 15:17:07 +08:00
2022-11-02 14:34:59 +00:00
2023-02-20 15:12:31 +00:00
2023-02-15 15:43:08 +00:00
2022-05-18 09:21:01 +00:00
2023-04-19 11:59:19 +00:00
2022-10-19 10:44:06 +00:00
2022-10-19 10:44:06 +00:00
2022-12-16 10:11:42 +00:00
2022-12-20 23:57:11 +08:00
2023-01-13 08:52:54 +08:00
2022-04-01 02:37:06 +08:00
2023-01-17 09:50:31 +00:00
2023-01-11 22:42:15 +08:00
2023-04-10 06:35:24 +00:00
2022-03-18 14:53:13 +00:00
2022-12-21 11:02:39 +00:00
2022-11-14 19:19:21 +00:00
2022-11-14 19:19:21 +00:00
2023-01-10 07:36:21 +00:00
2022-10-11 04:30:09 +00:00
2022-05-13 09:18:32 +08:00
2023-04-12 18:19:49 +08:00
2023-03-23 10:53:43 +08:00
2022-05-06 10:56:19 +08:00
2023-04-12 18:19:49 +08:00
2022-03-16 15:02:27 -04:00