mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 22:57:29 +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();
|
super.onBackPressed();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.e(TAG, "onBackPressed: ", e);
|
Log.e(TAG, "onBackPressed: ", e);
|
||||||
|
finish();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user