Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
naman14 committed Feb 6, 2019
1 parent 8e90b8d commit cf365d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/src/main/java/com/naman14/timberx/TimberMusicService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ import java.util.Random
import timber.log.Timber.d as log
import android.widget.Toast


class TimberMusicService : MediaBrowserServiceCompat(), MediaPlayer.OnPreparedListener,
MediaPlayer.OnErrorListener, MediaPlayer.OnCompletionListener {

Expand Down Expand Up @@ -725,7 +724,6 @@ class TimberMusicService : MediaBrowserServiceCompat(), MediaPlayer.OnPreparedLi
log("Unable to set data source")
Toast.makeText(this, R.string.play_song_error, Toast.LENGTH_SHORT).show()
}

}

fun pause() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ import timber.log.Timber.e as loge
import timber.log.Timber.w as warn

class MainViewModel(
private val context: Context,
private val mediaSessionConnection: MediaSessionConnection
private val context: Context,
private val mediaSessionConnection: MediaSessionConnection
) : ViewModel() {

class Factory(private val context: Context, private val mediaSessionConnection: MediaSessionConnection) :
Expand Down

0 comments on commit cf365d3

Please sign in to comment.