1
0
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:
Ammar Githam 2020-12-07 19:37:14 +09:00
parent 951117c769
commit 8c4ce111a4

View File

@ -215,6 +215,7 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
super.onBackPressed();
} catch (Exception e) {
Log.e(TAG, "onBackPressed: ", e);
finish();
}
}
}