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
protected void onDestroy() {
super.onDestroy();
try {
super.onDestroy();
} catch (Exception e) {
Log.e(TAG, "onDestroy: ", e);
}
unbindActivityCheckerService();
}