Fix PiP activity not being removed (#512)

This commit is contained in:
Quickdesh 2022-04-12 00:15:44 +09:00 committed by GitHub
parent 1fe35d77a2
commit e5dce8a087
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -294,7 +294,7 @@ class PlayerActivity :
binding.pipBtn.isVisible = packageManager.hasSystemFeature(PackageManager.FEATURE_PICTURE_IN_PICTURE) && Build.VERSION.SDK_INT >= Build.VERSION_CODES.O
}
binding.backArrowBtn.setOnClickListener { onBackPressed() }
binding.backArrowBtn.setOnClickListener { finishAndRemoveTask() }
binding.pipBtn.setOnClickListener { startPiP() }