set compileSdkVersion and targetSdkVersion to 32

This commit is contained in:
Jannik 2022-08-27 13:56:15 +02:00
parent da94003368
commit f128efea0d
Signed by: Seil0
GPG Key ID: E8459F3723C52C24
2 changed files with 5 additions and 3 deletions

View File

@ -5,13 +5,13 @@ plugins {
}
android {
compileSdkVersion 31
compileSdkVersion 32
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "org.mosad.teapod"
minSdkVersion 23
targetSdkVersion 31
targetSdkVersion 32
versionCode 9020 //00.09.020
versionName "1.0.0-beta3"

View File

@ -194,7 +194,9 @@ class PlayerActivity : AppCompatActivity() {
isInPictureInPictureMode: Boolean,
newConfig: Configuration
) {
super.onPictureInPictureModeChanged(isInPictureInPictureMode, newConfig)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
super.onPictureInPictureModeChanged(isInPictureInPictureMode, newConfig)
}
// Hide the full-screen UI (controls, etc.) while in picture-in-picture mode.
playerBinding.videoView.useController = !isInPictureInPictureMode