summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-10-04 15:10:16 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-04 15:10:16 -0700
commit402401e666b0b5068ebcb0e45d0ed9c06dd4674e (patch)
tree2e7627378564c7e6089ca8f5b18c062f997cfb6f /packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java
parenta488c79605d0629986bb636bc2a2bc86f4947686 (diff)
parent2dcba613a736b1c0ba2f9c18c32f171f7bbb1a23 (diff)
downloadframeworks_base-402401e666b0b5068ebcb0e45d0ed9c06dd4674e.zip
frameworks_base-402401e666b0b5068ebcb0e45d0ed9c06dd4674e.tar.gz
frameworks_base-402401e666b0b5068ebcb0e45d0ed9c06dd4674e.tar.bz2
am 2dcba613: am 5b491d63: Merge "Custom pressed states, fixed column sizes." into klp-dev
* commit '2dcba613a736b1c0ba2f9c18c32f171f7bbb1a23': Custom pressed states, fixed column sizes.
Diffstat (limited to 'packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java')
-rw-r--r--packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java b/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java
index 59caad0..4d410d5 100644
--- a/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java
+++ b/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java
@@ -216,6 +216,10 @@ public class DirectoryFragment extends Fragment {
final View view = target.getChildAt(i);
mRecycleListener.onMovedToScrapHeap(view);
}
+
+ // Tear down any selection in progress
+ mListView.setChoiceMode(AbsListView.CHOICE_MODE_NONE);
+ mGridView.setChoiceMode(AbsListView.CHOICE_MODE_NONE);
}
@Override