Matías Hernández b8b897e552 Improve lifecycle of ZenModeFragment & friends
* Don't keep Settings observers longer than start-stop.
* Only call updateState() once on controllers during create->start->resume.
* Remove some duplicate controller update methods from ZenModesFragmentBase (we can directly call DashboardFragment's).
* Don't update controllers if unrelated modes were changed.
* Extract ZenSettingsObserver for use in the link tile later.
* Add tests.

Fixes: 353946788
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Change-Id: I64b51714d699b5c3a592a76fcb615d2999998829
2024-07-29 20:10:03 +02:00
2022-04-14 09:55:36 +00:00
2023-09-28 10:40:22 -07:00
2020-01-16 06:45:18 +00: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%