This commit is contained in:
Alexey Kulish 2016-11-07 18:44:02 +03:00
parent 9bbe2ed141
commit a06b98bc4b

View file

@ -463,9 +463,13 @@ public class DashChooseAppDirFragment {
Toast.makeText(ctx, R.string.shared_string_io_error, Toast.LENGTH_LONG).show();
}
}
try {
if (progress.getDialog().isShowing()) {
progress.getDialog().dismiss();
}
} catch (Exception e) {
//ignored
}
}
private void movingFiles(File f, File t, int depth) throws IOException {
@ -541,9 +545,13 @@ public class DashChooseAppDirFragment {
@Override
protected void onPostExecute(Boolean result) {
try {
if (progress.getDialog().isShowing()) {
progress.getDialog().dismiss();
}
} catch (Exception e) {
//ignored
}
}
@Override