2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 06:05:12 +00:00
This commit is contained in:
Albert Vaca Cintora
2020-04-17 21:58:47 +02:00
parent 5808676cd0
commit f58b6c5c39

View File

@@ -494,7 +494,9 @@ public class MprisActivity extends AppCompatActivity {
@Override
protected void onSaveInstanceState(@NonNull Bundle outState) {
outState.putString("targetPlayer", targetPlayer.getPlayer());
if (targetPlayer != null) {
outState.putString("targetPlayer", targetPlayer.getPlayer());
}
super.onSaveInstanceState(outState);
}
}