diff options
author | Jeff Sharkey <jsharkey@android.com> | 2014-05-10 19:42:02 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-05-10 19:42:02 +0000 |
commit | f521ee6fa9645bb944cf1f452cc40f4d8d580b4e (patch) | |
tree | 9d5f82e3b61198034921b3a63724095270d2d108 /packages/DocumentsUI | |
parent | 7e13d1d4a46a01ebaa412d622ef76d90bd39d12a (diff) | |
parent | e3e2c471b2504335e99ed15975c3c5c9dfbf2795 (diff) | |
download | frameworks_base-f521ee6fa9645bb944cf1f452cc40f4d8d580b4e.zip frameworks_base-f521ee6fa9645bb944cf1f452cc40f4d8d580b4e.tar.gz frameworks_base-f521ee6fa9645bb944cf1f452cc40f4d8d580b4e.tar.bz2 |
am e3e2c471: Merge "Set ActionMode title to the number of selected files"
* commit 'e3e2c471b2504335e99ed15975c3c5c9dfbf2795':
Set ActionMode title to the number of selected files
Diffstat (limited to 'packages/DocumentsUI')
-rw-r--r-- | packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java b/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java index b2b2bd8..9069a55 100644 --- a/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java +++ b/packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java @@ -436,6 +436,8 @@ public class DirectoryFragment extends Fragment { @Override public boolean onCreateActionMode(ActionMode mode, Menu menu) { mode.getMenuInflater().inflate(R.menu.mode_directory, menu); + mode.setTitle(getResources() + .getString(R.string.mode_selected_count, mCurrentView.getCheckedItemCount())); return true; } |