1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-12-23 13:26:59 +00:00

Wrapping super.onDestroy in try-catch in MainActivity to workaround NavController crash

This commit is contained in:
Ammar Githam 2020-11-10 21:45:26 +09:00
parent b99ee88c97
commit abd6dd1143

View File

@ -220,7 +220,11 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
@Override @Override
protected void onDestroy() { protected void onDestroy() {
try {
super.onDestroy(); super.onDestroy();
} catch (Exception e) {
Log.e(TAG, "onDestroy: ", e);
}
unbindActivityCheckerService(); unbindActivityCheckerService();
} }