This commit is contained in:
parent
9f892a5065
commit
3a29bf5985
@ -1,3 +1,6 @@
|
||||
### Version 1.0.43 Tag: v1.0.43 (2020-07-04)
|
||||
* Fix back button issue
|
||||
|
||||
### Version 1.0.42 Tag: v1.0.42 (2020-07-04)
|
||||
* Added appbar at the top of the SettingsActivity (@Poslovitch)
|
||||
* Improved and added some French translations (@Poslovitch)
|
||||
|
@ -6,8 +6,8 @@ android {
|
||||
applicationId "net.schueller.peertube"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 1042
|
||||
versionName "1.0.42"
|
||||
versionCode 1043
|
||||
versionName "1.0.43"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
ext {
|
||||
libVersions = [
|
||||
|
@ -415,6 +415,10 @@ public class VideoPlayActivity extends AppCompatActivity {
|
||||
}
|
||||
|
||||
String backgroundBehavior = sharedPref.getString("pref_background_behavior","backgroundStop");
|
||||
|
||||
|
||||
// Log.v(TAG,"backgroundBehavior: " + backgroundBehavior);
|
||||
|
||||
switch (backgroundBehavior){
|
||||
case "backgroundStop":
|
||||
Log.v(TAG,"stop the video");
|
||||
@ -440,6 +444,11 @@ public class VideoPlayActivity extends AppCompatActivity {
|
||||
super.onBackPressed();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
// Deal with bad entries from older version
|
||||
Log.v(TAG,"No setting, fallback");
|
||||
super.onBackPressed();
|
||||
break;
|
||||
}
|
||||
Log.v(TAG, "onBackPressed()...");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user