From aacb690ece87dfe45ae505ca1317e60cc8cd6b87 Mon Sep 17 00:00:00 2001 From: Weian Date: Tue, 5 Dec 2017 23:27:56 +0800 Subject: [PATCH] add TODO comment --- .../weian/cheng/mediaplayerwithexoplayer/ExoPlayerWrapper.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/mediaplayerwithexoplayer2/src/main/java/weian/cheng/mediaplayerwithexoplayer/ExoPlayerWrapper.kt b/mediaplayerwithexoplayer2/src/main/java/weian/cheng/mediaplayerwithexoplayer/ExoPlayerWrapper.kt index ea7996a..757dff3 100644 --- a/mediaplayerwithexoplayer2/src/main/java/weian/cheng/mediaplayerwithexoplayer/ExoPlayerWrapper.kt +++ b/mediaplayerwithexoplayer2/src/main/java/weian/cheng/mediaplayerwithexoplayer/ExoPlayerWrapper.kt @@ -53,6 +53,7 @@ class ExoPlayerWrapper(context: Context) { */ fun play(url: String) { if (playerState == PlayerState.Play) { + // TODO: find out a appropriate exception or make one. throw Exception("now is playing") }