Loading services/core/java/com/android/server/media/MediaShellCommand.java +1 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ public class MediaShellCommand extends ShellCommand { } if (sThread == null) { Looper.prepare(); sThread = ActivityThread.systemMain(); sThread = ActivityThread.currentActivityThread(); Context context = sThread.getSystemContext(); sMediaSessionManager = (MediaSessionManager) context.getSystemService(Context.MEDIA_SESSION_SERVICE); Loading Loading
services/core/java/com/android/server/media/MediaShellCommand.java +1 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ public class MediaShellCommand extends ShellCommand { } if (sThread == null) { Looper.prepare(); sThread = ActivityThread.systemMain(); sThread = ActivityThread.currentActivityThread(); Context context = sThread.getSystemContext(); sMediaSessionManager = (MediaSessionManager) context.getSystemService(Context.MEDIA_SESSION_SERVICE); Loading