Matías Hernández e8306014f0 Fix jiggle when opening custom manual modes
Looks like setting Preference visibility in updateState() is too late to avoid an animation, and isAvailable() should be used instead. This forces us to split ZenModeSetTriggerLinkPreferenceController (which handled the category and its two children) into separate controllers for the category and each child. Although untangling this code was annoying, the result is arguably cleaner, since the two child preferences deal with different things.

Fixes: 355623101
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Change-Id: I5fb1b3cbe424973b852f820ecf948491c050421f
2024-07-26 17:44:53 +00:00
2022-04-14 09:55:36 +00:00
2023-09-28 10:40:22 -07:00
2019-11-25 20:28:35 +09: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%