Fix #3239
This commit is contained in:
parent
e203fd6aca
commit
0bbdf8353c
1 changed files with 12 additions and 4 deletions
|
@ -463,9 +463,13 @@ public class DashChooseAppDirFragment {
|
||||||
Toast.makeText(ctx, R.string.shared_string_io_error, Toast.LENGTH_LONG).show();
|
Toast.makeText(ctx, R.string.shared_string_io_error, Toast.LENGTH_LONG).show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(progress.getDialog().isShowing()) {
|
try {
|
||||||
|
if (progress.getDialog().isShowing()) {
|
||||||
progress.getDialog().dismiss();
|
progress.getDialog().dismiss();
|
||||||
}
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
//ignored
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void movingFiles(File f, File t, int depth) throws IOException {
|
private void movingFiles(File f, File t, int depth) throws IOException {
|
||||||
|
@ -541,9 +545,13 @@ public class DashChooseAppDirFragment {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onPostExecute(Boolean result) {
|
protected void onPostExecute(Boolean result) {
|
||||||
|
try {
|
||||||
if (progress.getDialog().isShowing()) {
|
if (progress.getDialog().isShowing()) {
|
||||||
progress.getDialog().dismiss();
|
progress.getDialog().dismiss();
|
||||||
}
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
//ignored
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue