Revert "Adeed logging"

This reverts commit 52443b3a7a.
This commit is contained in:
M66B 2019-07-30 20:57:22 +02:00
parent 98593432c4
commit aded278004
1 changed files with 1 additions and 8 deletions

View File

@ -32,7 +32,6 @@ import androidx.appcompat.app.AlertDialog;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import java.util.ArrayList;
import java.util.List;
import static android.app.Activity.RESULT_OK;
@ -94,12 +93,7 @@ public class FragmentDialogFolder extends DialogFragmentEx {
@Override
protected void onExecuted(final Bundle args, List<TupleFolderEx> folders) {
if (folders == null)
folders = new ArrayList<>();
Log.i("Selecting folders=" + folders.size() + " disabled=" + disabled.length);
if (folders.size() == 0)
if (folders == null || folders.size() == 0)
tvNoFolder.setVisibility(View.VISIBLE);
else {
rvFolder.setVisibility(View.VISIBLE);
@ -110,7 +104,6 @@ public class FragmentDialogFolder extends DialogFragmentEx {
@Override
protected void onException(Bundle args, Throwable ex) {
Log.e(ex);
Helper.unexpectedError(getFragmentManager(), ex);
}
}.execute(getContext(), getActivity(), args, "folder:select");