Chun-Ku Lin ec61f8bea3 Move PreferenceControllers to member variables to prevent memory leak
- Move PreferenceControllers to xml
- Clean up the PreferenceController so that it's less tied to a fragment
- Update and clean up the related robolectric test, so there are less
  mocks needed

Bug: 352606511
Test: manually check the Color Correction screen is shown correctly, and
choosing color correction options are reflected correctly
Test: atest DaltonizerRadioButtonPreferenceControllerTest
Test: atest ToggleDaltonizerPreferenceFragmentTest
Flag: EXEMPT (moving controller to xml can't be flagged)

Change-Id: I89b9366cfd7a398bb0572d34226d31d49373fd94
2024-07-15 21:34:14 +00:00
2022-04-14 09:55:36 +00:00
2023-09-28 10:40:22 -07:00
2024-02-05 08:46:27 +00:00
2024-06-27 08:46:17 +00:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%