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:
@@ -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"
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user