Little fixes
This commit is contained in:
@@ -224,7 +224,6 @@ public class ImportKeysListFragment extends ListFragment implements
|
|||||||
|
|
||||||
switch (loader.getId()) {
|
switch (loader.getId()) {
|
||||||
case LOADER_ID_BYTES:
|
case LOADER_ID_BYTES:
|
||||||
error = data.getError();
|
|
||||||
|
|
||||||
if(error instanceof ImportKeysListLoader.FileHasNoContent) {
|
if(error instanceof ImportKeysListLoader.FileHasNoContent) {
|
||||||
AppMsg.makeText(getActivity(), R.string.error_import_file_no_content,
|
AppMsg.makeText(getActivity(), R.string.error_import_file_no_content,
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ public class ImportKeysListLoader extends AsyncTaskLoader<AsyncTaskResultWrapper
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Log.e(Constants.TAG, "Exception on parsing key file!", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isEmpty) {
|
if(isEmpty) {
|
||||||
|
|||||||
Reference in New Issue
Block a user