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

Commit c5979d98 authored by Ben Kwa's avatar Ben Kwa
Browse files

Disable copying from Recents.

Recents view contains a whole bunch of content aggregated from
potentially many different sources.  Dealing with all these in a single
copy operation can be complex, so for simplicity, copying from recents
view is disabled.

BUG=20487641

Change-Id: I6052e62ee0446da7741f13abfed97044e147dd7d
parent 5c1e3065
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -503,7 +503,8 @@ public class DirectoryFragment extends Fragment {
            open.setVisible(!manageOrBrowse);
            share.setVisible(manageOrBrowse);
            delete.setVisible(manageOrBrowse);
            copy.setVisible(manageOrBrowse);
            // Disable copying from the Recents view.
            copy.setVisible(manageOrBrowse && mType != TYPE_RECENT_OPEN);

            return true;
        }