Skip to content

Commit

Permalink
add TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
weiancheng committed Dec 5, 2017
1 parent 7b53883 commit aacb690
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down

0 comments on commit aacb690

Please sign in to comment.