delete commented code on Playable interface (related to RemoteMedia)

This commit is contained in:
Domingos Lopes 2016-06-08 13:15:27 -04:00
parent 6d9e385b73
commit f4909c9fb9
1 changed files with 0 additions and 9 deletions

View File

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