Prevent creating NPVC in other users
The BrightnessDialog could be created for a secondary user (separate bug to address that). This would cause NPVC (as a BrightnessMirrorShowingInteractor) to be created on a secondary user, which leads to crashes. Instead, prevent creation of the interactor when we don't need the mirror (i.e. BrightnessDialog). Also, use a passthrough interactor if we need it in other process (as we don't need NPVC animations). Test: manual, no crashes in secondary user Test: atest BrightnessSliderViewModelTest Flag: com.android.systemui.qs_ui_refactor_compose_fragment Fixes: 407920471 Change-Id: I4de84dd5ba495fab4d420e90ed62420281461dce
Loading
Please register or sign in to comment