We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a205393 + 9d76bfd commit 4f0f930Copy full SHA for 4f0f930
1 file changed
android-tv/app/src/main/java/com/kvideo/tv/MainActivity.kt
@@ -340,11 +340,11 @@ class MainActivity : ComponentActivity() {
340
341
private inner class AndroidPlayerBridge {
342
@JavascriptInterface
343
- fun isPictureInPictureSupported(): Boolean = isPictureInPictureSupported()
+ fun isPictureInPictureSupported(): Boolean = this@MainActivity.isPictureInPictureSupported()
344
345
346
fun enterPictureInPicture(width: Int, height: Int): Boolean {
347
- if (!isPictureInPictureSupported()) {
+ if (!this@MainActivity.isPictureInPictureSupported()) {
348
return false
349
}
350
0 commit comments