Skip to content

Commit

Permalink
Returns blank message instead of null value to prevent npe
Browse files Browse the repository at this point in the history
  • Loading branch information
shobhitagarwal1612 committed Apr 17, 2018
1 parent daeea5b commit df8b197
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ protected String doInBackground(Void... params) {
if (instanceFolders.length == 0) {
Timber.i("[%d] Empty instance folder. Stopping scan process.", instance);
Timber.d(Collect.getInstance().getString(R.string.instance_scan_completed));
return null;
return currentStatus;
}

// Build the list of potential path that we need to add to the content provider
Expand Down

0 comments on commit df8b197

Please sign in to comment.