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

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

Enable the copy feature.

Change-Id: Ie0636895f2b2fe6550eb68042295daf76bbbd7fe
parent aaa29705
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;
        }