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" applicationId "asgardius.page.s3manager"
minSdk 23 minSdk 23
targetSdk 33 targetSdk 33
versionCode 48 versionCode 49
versionName "0.4.2" versionName "0.4.3"
setProperty("archivesBaseName", "s3-manager-$versionName") setProperty("archivesBaseName", "s3-manager-$versionName")
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

View file

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

View file

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