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

Commit 7006ac78 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am e643e337: am 99dcb2eb: am 10e509dc: Merge "Use inotify to update DocumentsUI." into klp-dev

* commit 'e643e33736e14a59f1f9a8acb4d630b2ea671a31':
  Use inotify to update DocumentsUI.
parents dbd1f77f c185ec02
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -84,7 +84,6 @@ import com.google.android.collect.Lists;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;

/**
 * Display the documents inside a single directory.
@@ -127,9 +126,7 @@ public class DirectoryFragment extends Fragment {
    private static final String EXTRA_QUERY = "query";
    private static final String EXTRA_IGNORE_STATE = "ignoreState";

    private static AtomicInteger sLoaderId = new AtomicInteger(4000);

    private final int mLoaderId = sLoaderId.incrementAndGet();
    private final int mLoaderId = 42;

    public static void showNormal(FragmentManager fm, RootInfo root, DocumentInfo doc, int anim) {
        show(fm, TYPE_NORMAL, root, doc, null, anim);