diff options
author | Jeff Sharkey <jsharkey@android.com> | 2013-10-28 10:00:09 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-10-28 10:00:09 -0700 |
commit | 2e05b6777a2b7eb53a632ef444fe84349605433f (patch) | |
tree | 6bb393a7b25a97b583c4f297ab9810d86be42a05 /packages/DocumentsUI | |
parent | c847c883af1c9df6b4f4533f9adb36acef13eac4 (diff) | |
parent | e643e33736e14a59f1f9a8acb4d630b2ea671a31 (diff) | |
download | frameworks_base-2e05b6777a2b7eb53a632ef444fe84349605433f.zip frameworks_base-2e05b6777a2b7eb53a632ef444fe84349605433f.tar.gz frameworks_base-2e05b6777a2b7eb53a632ef444fe84349605433f.tar.bz2 |
am e643e337: am 99dcb2eb: am 10e509dc: Merge "Use inotify to update DocumentsUI." into klp-dev
* commit 'e643e33736e14a59f1f9a8acb4d630b2ea671a31':
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); |