mirror of
https://github.com/yuliskov/SmartTube.git
synced 2026-10-02 10:04:36 +08:00
MotherActivity: refactor resetBackState
This commit is contained in:
@@ -206,7 +206,7 @@ public class MotherActivity extends FragmentActivity {
|
||||
|
||||
@Override
|
||||
protected void onResume() {
|
||||
mIsBackPressed = false;
|
||||
resetBackState();
|
||||
try {
|
||||
super.onResume();
|
||||
} catch (IllegalArgumentException e) {
|
||||
@@ -441,7 +441,7 @@ public class MotherActivity extends FragmentActivity {
|
||||
return MediaServiceData.instance();
|
||||
}
|
||||
|
||||
protected void resetBackState() {
|
||||
protected final void resetBackState() {
|
||||
mIsBackPressed = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user