Change function and member definitions to static.

This commit is contained in:
Swapnil Tripathi 2021-08-06 15:34:44 +05:30 committed by Tobias Fella
parent 0ab472ee1f
commit 086bc86bea

View File

@ -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: {