mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 06:37:30 +00:00
finish activity when onbackpressed bug occurs
Required so the activity finishes when the bug occurs. Current workaround makes the back button unresponsive
This commit is contained in:
parent
951117c769
commit
8c4ce111a4
@ -215,6 +215,7 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
|
||||
super.onBackPressed();
|
||||
} catch (Exception e) {
|
||||
Log.e(TAG, "onBackPressed: ", e);
|
||||
finish();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user