Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66f6547b authored by Jeff Tinker's avatar Jeff Tinker Committed by Android (Google) Code Review
Browse files

Merge "Removing widevine classic"

parents 2c0dc3e0 d2e9a52b
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package android.media;

import android.os.IBinder;
import android.util.Log;

/** @hide */
public class MediaHTTPService extends IMediaHTTPService.Stub {
@@ -31,10 +32,10 @@ public class MediaHTTPService extends IMediaHTTPService.Stub {

    /* package private */static IBinder createHttpServiceBinderIfNecessary(
            String path) {
        if (path.startsWith("http://")
                || path.startsWith("https://")
                || path.startsWith("widevine://")) {
        if (path.startsWith("http://") || path.startsWith("https://")) {
            return (new MediaHTTPService()).asBinder();
        } else if (path.startsWith("widevine://")) {
            Log.d(TAG, "Widevine classic is no longer supported");
        }

        return null;