Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8afc15af authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski Committed by android-build-merger
Browse files

Merge "Fix selecting all in DocumentsUI." into nyc-dev

am: 03dab3e5

* commit '03dab3e5':
  Fix selecting all in DocumentsUI.

Change-Id: I97c83da47a096ca833918c98979430f68b0d41d8
parents 482fb889 03dab3e5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1110,7 +1110,7 @@ public class DirectoryFragment extends Fragment
        List<String> enabled = new ArrayList<String>();
        for (String id : mAdapter.getModelIds()) {
            Cursor cursor = getModel().getItem(id);
            if (cursor != null) {
            if (cursor == null) {
                Log.w(TAG, "Skipping selection. Can't obtain cursor for modeId: " + id);
                continue;
            }
@@ -1202,7 +1202,7 @@ public class DirectoryFragment extends Fragment
            String id = getModelId(v);
            if (id != null) {
                Cursor dstCursor = mModel.getItem(id);
                if (dstCursor != null) {
                if (dstCursor == null) {
                    Log.w(TAG, "Invalid destination. Can't obtain cursor for modelId: " + id);
                    return null;
                }