Commit dc8fbd5c authored by Geoffrey Métais's avatar Geoffrey Métais

Unset any renderer on disconnection

parent 6553cc47
......@@ -242,6 +242,10 @@ public class ContentActivity extends AudioPlayerContainerActivity implements Sea
@Override
public void onRenderersChanged(boolean empty) {
showRenderers = !empty;
if (empty && !AndroidDevices.isChromeBook) {
RendererDelegate.INSTANCE.selectRenderer(null);
if (mService != null) mService.setRenderer(null);
}
supportInvalidateOptionsMenu();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment