delete commented code on Playable interface (related to RemoteMedia)
This commit is contained in:
parent
6d9e385b73
commit
f4909c9fb9
|
@ -183,9 +183,6 @@ public interface Playable extends Parcelable,
|
||||||
case ExternalMedia.PLAYABLE_TYPE_EXTERNAL_MEDIA:
|
case ExternalMedia.PLAYABLE_TYPE_EXTERNAL_MEDIA:
|
||||||
result = createExternalMediaInstance(pref);
|
result = createExternalMediaInstance(pref);
|
||||||
break;
|
break;
|
||||||
// case RemoteMedia.PLAYABLE_TYPE_REMOTE_MEDIA:
|
|
||||||
// result = createRemoteMediaInstance(pref);
|
|
||||||
// break;
|
|
||||||
}
|
}
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
Log.e(TAG, "Could not restore Playable object from preferences");
|
Log.e(TAG, "Could not restore Playable object from preferences");
|
||||||
|
@ -214,12 +211,6 @@ public interface Playable extends Parcelable,
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
// private static Playable createRemoteMediaInstance(SharedPreferences pref) {
|
|
||||||
// //TODO there's probably no point in restoring RemoteMedia from preferences, because we
|
|
||||||
// //only care about it while it's playing on the cast device.
|
|
||||||
// return null;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class PlayableException extends Exception {
|
class PlayableException extends Exception {
|
||||||
|
|
Loading…
Reference in New Issue