diff options
author | Jeff Sharkey <jsharkey@android.com> | 2013-10-28 09:57:20 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-10-28 09:57:20 -0700 |
commit | e643e33736e14a59f1f9a8acb4d630b2ea671a31 (patch) | |
tree | c49128d55abe5befd51309eaea5e7d4aa725fb7d /packages/DocumentsUI | |
parent | f65dd213900603116c7b064bfdfb57662f7682c3 (diff) | |
parent | 99dcb2eb3578c3d14658b3850cb3e32608e173b1 (diff) | |
download | frameworks_base-e643e33736e14a59f1f9a8acb4d630b2ea671a31.zip frameworks_base-e643e33736e14a59f1f9a8acb4d630b2ea671a31.tar.gz frameworks_base-e643e33736e14a59f1f9a8acb4d630b2ea671a31.tar.bz2 |
am 99dcb2eb: am 10e509dc: Merge "Use inotify to update DocumentsUI." into klp-dev
* commit '99dcb2eb3578c3d14658b3850cb3e32608e173b1':
Use inotify to update DocumentsUI.
Diffstat (limited to 'packages/DocumentsUI')
-rw-r--r-- | packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java b/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java index fa8bc9d..775720e 100644 --- a/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java +++ b/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java @@ -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); |