Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 225ca4a1 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am e3e2c471: Merge "Set ActionMode title to the number of selected files"

* commit 'e3e2c471b2504335e99ed15975c3c5c9dfbf2795':
  Set ActionMode title to the number of selected files
parents 06a1a845 43c97ea1
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -436,6 +436,8 @@ public class DirectoryFragment extends Fragment {
        @Override
        @Override
        public boolean onCreateActionMode(ActionMode mode, Menu menu) {
        public boolean onCreateActionMode(ActionMode mode, Menu menu) {
            mode.getMenuInflater().inflate(R.menu.mode_directory, menu);
            mode.getMenuInflater().inflate(R.menu.mode_directory, menu);
            mode.setTitle(getResources()
                    .getString(R.string.mode_selected_count, mCurrentView.getCheckedItemCount()));
            return true;
            return true;
        }
        }