+48
−0
packages/SystemUI/src/com/android/systemui/volume/dialog/dagger/VolumeDialogPluginComponent.kt
0 → 100644
+51
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This change adds two new dagger subcomponents alongside the scoped CoroutineScopes: 1) Plugin component which lives alongside the plugin initialization. This effectively is @Application scope now, because it will almost never be destroyed. Having it separate will make the possible future work to attempl to move Volume Dialog to its own scope easier 2) Dialog component which lives with the Volume Dialog. This one is destroyed alongside the dialog itself and is more conservative in terms of keeping stuff on a global scope. All UI work should happen here Flag: com.android.systemui.volume_redesign Test: passes presubmits Bug: 369994090 Change-Id: Idab663549559c28c3954864ebc5c4ab50954d2d8