Removing widevine classic

bug:30505334
Change-Id: I21ae4808c04b15a5b298c604494b17de436fb250
This commit is contained in:
Jeff Tinker
2016-10-24 13:20:14 -07:00
parent 3bda498b3f
commit d2e9a52b1d

View File

@@ -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;