diff --git a/android/src/org/kde/kasts/MediaService.java b/android/src/org/kde/kasts/MediaService.java index 69a8169c..eb77a279 100644 --- a/android/src/org/kde/kasts/MediaService.java +++ b/android/src/org/kde/kasts/MediaService.java @@ -19,10 +19,10 @@ import android.util.Log; public class MediaService extends Service { public static final String TAG = "MediaService"; - private MediaSessionCompat mSession; - private PlaybackStateCompat.Builder mPBuilder; + private static MediaSessionCompat mSession; + private static PlaybackStateCompat.Builder mPBuilder; - public void setSessionState(int state) + public static void setSessionState(int state) { switch(state) { case 0: {