mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
Merge pull request #3723 from deltachat/adb/issue-3719
catch IllegalArgumentException in InstantOnboardingActivity.progressError()
This commit is contained in:
commit
31c9de1f03
1 changed files with 6 additions and 1 deletions
|
@ -423,7 +423,12 @@ public class InstantOnboardingActivity extends BaseActionBarActivity implements
|
|||
|
||||
private void progressError(String data2) {
|
||||
if (progressDialog != null) {
|
||||
try {
|
||||
progressDialog.dismiss();
|
||||
} catch (IllegalArgumentException e) {
|
||||
// see https://stackoverflow.com/a/5102572/4557005
|
||||
Log.w(TAG, e);
|
||||
}
|
||||
}
|
||||
WelcomeActivity.maybeShowConfigurationError(this, data2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue