2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 06:05:12 +00:00

MPRIS Activity kept the last song played while showing "No players found"

This commit is contained in:
Albert Vaca
2015-03-07 13:44:45 -08:00
parent 6e2b3289e6
commit c15263b416
2 changed files with 2 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.kde.kdeconnect_tp"
android:versionCode="802"
android:versionCode="803"
android:versionName="0.8c">
<uses-sdk android:minSdkVersion="9"

View File

@@ -136,6 +136,7 @@ public class MprisActivity extends ActionBarActivity {
if(playerList.isEmpty()){
findViewById(R.id.no_players).setVisibility(View.VISIBLE);
spinner.setVisibility(View.GONE);
((TextView) findViewById(R.id.now_playing_textview)).setText("");
}else{
findViewById(R.id.no_players).setVisibility(View.GONE);
spinner.setVisibility(View.VISIBLE);