mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
catch IllegalArgumentException in InstantOnboardingActivity.progressError()
This commit is contained in:
@@ -423,7 +423,12 @@ public class InstantOnboardingActivity extends BaseActionBarActivity implements
|
||||
|
||||
private void progressError(String data2) {
|
||||
if (progressDialog != null) {
|
||||
progressDialog.dismiss();
|
||||
try {
|
||||
progressDialog.dismiss();
|
||||
} catch (IllegalArgumentException e) {
|
||||
// see https://stackoverflow.com/a/5102572/4557005
|
||||
Log.w(TAG, e);
|
||||
}
|
||||
}
|
||||
WelcomeActivity.maybeShowConfigurationError(this, data2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user