Always show remote buttons, even if there's no connection over TCP/HTTP. There might be problems reaching Kodi through TCP/HTTP but EventServer might be available/responding, so always showing the remote buttons allows the user to navigate. One instance of this is when a modal dialog box is being shown, and the TCP thread isn't responding, showing the remote buttons allows the user to dismiss the dialog box and continue.

This commit is contained in:
Synced Synapse 2016-05-11 19:24:27 +01:00
parent f6070c78c0
commit 9ad1fe8879
1 changed files with 2 additions and 2 deletions

View File

@ -510,7 +510,7 @@ public class RemoteFragment extends Fragment
public void playerOnConnectionError(int errorCode, String description) {
HostInfo hostInfo = hostManager.getHostInfo();
switchToPanel(R.id.info_panel, false);
switchToPanel(R.id.info_panel, true);
if (hostInfo != null) {
infoTitle.setText(R.string.connecting);
// TODO: check error code
@ -523,7 +523,7 @@ public class RemoteFragment extends Fragment
public void playerNoResultsYet() {
// Initialize info panel
switchToPanel(R.id.info_panel, false);
switchToPanel(R.id.info_panel, true);
HostInfo hostInfo = hostManager.getHostInfo();
if (hostInfo != null) {
infoTitle.setText(R.string.connecting);