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

Commit 4cfb3130 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Enable the copy feature."

parents f47c6488 d58d954a
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@ import android.os.Bundle;
import android.os.CancellationSignal;
import android.os.OperationCanceledException;
import android.os.Parcelable;
import android.os.SystemProperties;
import android.provider.DocumentsContract;
import android.provider.DocumentsContract.Document;
import android.text.format.DateUtils;
@@ -506,10 +505,7 @@ public class DirectoryFragment extends Fragment {
            open.setVisible(!manageOrBrowse);
            share.setVisible(manageOrBrowse);
            delete.setVisible(manageOrBrowse);

            // TODO: unhide copying when ready
            copy.setVisible(manageOrBrowse &&
                    SystemProperties.getBoolean("debug.documentsui.enable_copy", false));
            copy.setVisible(manageOrBrowse);

            return true;
        }