Skip to content

Commit

Permalink
Remove "coucou" log in LeanbackPlayerFragment. (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
Loic-Dumas authored Jan 18, 2024
1 parent 48d28eb commit 25bb6cd
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package ch.srgssr.pillarbox.demo.tv.player.leanback

import android.os.Bundle
import android.util.Log
import androidx.leanback.app.VideoSupportFragment
import androidx.leanback.app.VideoSupportFragmentGlueHost
import androidx.leanback.media.PlaybackGlue
Expand Down Expand Up @@ -90,14 +89,12 @@ class LeanbackPlayerFragment : VideoSupportFragment() {
}

override fun onPause() {
Log.d("Coucou", "PlayerFragment:onPause")
super.onPause()
player.pause()
}

override fun onDestroy() {
super.onDestroy()
Log.d("Coucou", "PlayerFragment:onDestroy")
player.release()
}
}

0 comments on commit 25bb6cd

Please sign in to comment.