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