Chun-Ku Lin
9a0c7ba7da
Fix AccessibilitySettingsTest
...
**Root cause**
- We can no longer mock the fragment.getActivity method because it's a
final method.
- We need to use custom shadows to implement the method we use but not
shadowed in Robolectric. (e.g. ColorDisplayManager's
isReduceBrightColorsActivated method)
Bug: 300157873
Test: atest AccessibilitySettingsTest
Change-Id: Ia7d039dd2e31e6b4a7b9382827f9006d4133ca1d
2023-10-13 21:55:22 +00:00
..
2023-10-13 21:55:22 +00:00
2023-09-21 23:09:39 +00:00
2023-10-12 10:00:52 +00:00
2023-10-12 21:07:27 +00:00
2023-10-11 15:36:17 +00:00
2023-08-17 22:33:20 +00:00
2023-09-28 14:49:03 +08:00
2023-10-03 08:23:36 +00:00
2023-10-11 12:32:17 +01:00
2023-10-09 10:37:37 +00:00
2023-09-26 15:49:40 +08:00
2023-10-10 14:10:38 +00:00
2023-10-11 12:32:17 +01:00
2023-10-10 14:10:38 +00:00
2023-09-11 13:38:36 +00:00
2023-09-11 13:38:36 +00:00
2023-10-12 10:32:40 +00:00
2023-09-27 09:30:27 +08:00
2023-09-26 15:49:40 +08:00
2023-09-26 15:49:40 +08:00
2023-09-11 13:38:36 +00:00
2023-10-02 09:34:40 +00:00
2023-09-21 23:09:39 +00:00
2023-08-28 19:19:55 +00:00
2023-09-21 12:57:51 +08:00
2023-10-11 12:04:37 +00:00
2023-09-16 02:55:24 +00:00
2023-10-09 23:26:11 +00:00
2023-08-02 19:10:31 +08:00
2023-08-16 18:45:09 +00:00
2023-09-26 10:30:22 +00:00
2023-09-11 13:38:36 +00:00
2023-09-05 03:44:34 +00:00
2023-09-27 23:45:48 +08:00
2023-09-11 13:38:36 +00:00
2023-10-03 07:56:31 +00:00
2023-09-11 13:38:36 +00:00
2023-09-11 13:38:36 +00:00
2023-09-19 14:54:41 +08:00
2023-10-13 21:55:22 +00:00
2023-09-11 13:38:36 +00:00
2023-10-11 15:43:20 +00:00
2023-09-26 15:49:40 +08:00
2023-09-11 13:38:36 +00:00
2023-09-26 15:49:40 +08:00
2023-09-11 13:38:36 +00:00
2023-09-26 15:49:40 +08:00
2023-09-26 15:49:40 +08:00
2023-09-27 23:45:48 +08:00
2023-09-11 13:38:36 +00:00
2023-09-11 13:38:36 +00:00
2023-09-11 13:38:36 +00:00
2023-09-11 13:38:36 +00:00
2023-09-11 13:38:36 +00:00
2023-09-11 13:38:36 +00:00
2023-09-11 13:38:36 +00:00
2023-08-17 22:33:20 +00:00
2023-08-15 16:52:36 +00:00