new release

This commit is contained in:
Page Asgardius 2022-12-26 17:55:34 -07:00
parent 5b3be1b8a9
commit 1ac83482f4
3 changed files with 4 additions and 3 deletions

View file

@ -9,8 +9,8 @@ android {
applicationId "asgardius.page.s3manager"
minSdk 23
targetSdk 33
versionCode 48
versionName "0.4.2"
versionCode 49
versionName "0.4.3"
setProperty("archivesBaseName", "s3-manager-$versionName")
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

View file

@ -355,7 +355,7 @@ public class VideoPlayer extends AppCompatActivity {
AppOpsManager.OPSTR_PICTURE_IN_PICTURE,
this.getPackageManager().getApplicationInfo(this.getPackageName(),
PackageManager.GET_META_DATA).uid, this.getPackageName())
== AppOpsManager.MODE_ALLOWED && isScreenOn(this)) {
== AppOpsManager.MODE_ALLOWED && isScreenOn(this) && this.isInPictureInPictureMode()) {
finish();
}
} catch (PackageManager.NameNotFoundException e) {

View file

@ -0,0 +1 @@
* Fixed video being closed when app is on freeform mode