diff options
author | Jeff Sharkey <jsharkey@android.com> | 2014-05-10 19:39:38 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-10 19:39:39 +0000 |
commit | e3e2c471b2504335e99ed15975c3c5c9dfbf2795 (patch) | |
tree | e394e103863d65a7517ce5030aeaedf7da7b59d2 /packages/DocumentsUI | |
parent | f6c9c4204c2f8f86277d081112c9dd863ddaa778 (diff) | |
parent | 22d3990273a1cb5e61360ac42d1d4e6156d762ed (diff) | |
download | frameworks_base-e3e2c471b2504335e99ed15975c3c5c9dfbf2795.zip frameworks_base-e3e2c471b2504335e99ed15975c3c5c9dfbf2795.tar.gz frameworks_base-e3e2c471b2504335e99ed15975c3c5c9dfbf2795.tar.bz2 |
Merge "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; } |