[QSDetailedView] Fix the crash when reopening Internet Details
When reopening the internet details view, the app would crash with an `IllegalStateException`. This was because the LifecycleRegistry was being moved to a DESTROYED state when the view was closed, and then an attempt was made to move it back to a CREATED state upon reopening. This change fixes the issue by re-initializing the LifecycleRegistry every time the view is bound. Bug: 430127786 Flag: com.android.systemui.qs_tile_detailed_view Test: InternetDetailsContentManagerTest Change-Id: I77cbd4808b076be6de5eb42198cf867f676a3ab2
Loading
Please register or sign in to comment