mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Added comment
This commit is contained in:
@@ -783,6 +783,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
||||
|
||||
public void performBack() {
|
||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED)) {
|
||||
// https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/app/Activity.java#3896
|
||||
ActionBar ab = getSupportActionBar();
|
||||
if (ab != null && ab.collapseActionView())
|
||||
return;
|
||||
@@ -793,7 +794,6 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
||||
finish();
|
||||
}
|
||||
|
||||
|
||||
public void onBackPressedFragment() {
|
||||
performBack();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user