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

Commit d2e9a52b authored by Jeff Tinker's avatar Jeff Tinker
Browse files

Removing widevine classic

bug:30505334
Change-Id: I21ae4808c04b15a5b298c604494b17de436fb250
parent 3bda498b
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;