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