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

Don't hide media controls in lock screen

This commit is contained in:
Albert Vaca
2018-03-15 23:17:37 +01:00
parent d0e1175f4a
commit 2962ebf61f

View File

@@ -307,7 +307,8 @@ public class MprisMediaSession implements SharedPreferences.OnSharedPreferenceCh
.setContentIntent(piOpenActivity)
.setSmallIcon(R.drawable.ic_play_white)
.setShowWhen(false)
.setColor(service.getResources().getColor(R.color.primary));
.setColor(service.getResources().getColor(R.color.primary))
.setVisibility(android.support.v4.app.NotificationCompat.VISIBILITY_PUBLIC);
if (!notificationPlayer.getTitle().isEmpty()) {
notification.setContentTitle(notificationPlayer.getTitle());