2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-29 13:17:43 +00:00
This commit is contained in:
Abdel-Rahman Abdel-Rahman 2020-04-29 00:35:57 +02:00
parent 4291473106
commit decb179bad

View File

@ -144,7 +144,7 @@ public class MprisActivity extends AppCompatActivity {
BackgroundService.RunWithPlugin(this, deviceId, MprisPlugin.class, mpris -> { BackgroundService.RunWithPlugin(this, deviceId, MprisPlugin.class, mpris -> {
targetPlayer = mpris.getPlayerStatus(targetPlayerName); targetPlayer = mpris.getPlayerStatus(targetPlayerName);
addSytemvolumeFragment(); addSystemVolumeFragment();
mpris.setPlayerStatusUpdatedHandler("activity", new Handler() { mpris.setPlayerStatusUpdatedHandler("activity", new Handler() {
@Override @Override
@ -226,7 +226,7 @@ public class MprisActivity extends AppCompatActivity {
}); });
} }
private void addSytemvolumeFragment() { private void addSystemVolumeFragment() {
if (findViewById(R.id.systemvolume_fragment) == null) if (findViewById(R.id.systemvolume_fragment) == null)
return; return;