set compileSdkVersion and targetSdkVersion to 32
This commit is contained in:
parent
da94003368
commit
f128efea0d
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue