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

Commit d9874f98 authored by Matt Casey's avatar Matt Casey
Browse files

Remove "Copied" toast from sharesheet.

No longer needed in T thanks to clipboard overlay.

Bug: 214616654
Test: manual
Change-Id: I75d43260ff320e831aff91d6686fc25455e88125
parent 27df8ca3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -107,7 +107,6 @@ import android.widget.Button;
import android.widget.ImageView;
import android.widget.Space;
import android.widget.TextView;
import android.widget.Toast;

import com.android.internal.R;
import com.android.internal.annotations.VisibleForTesting;
@@ -1054,7 +1053,6 @@ public class ChooserActivity extends ResolverActivity implements
            ClipboardManager clipboardManager = (ClipboardManager) getSystemService(
                    Context.CLIPBOARD_SERVICE);
            clipboardManager.setPrimaryClipAsPackage(clipData, getReferrerPackageName());
            Toast.makeText(getApplicationContext(), R.string.copied, Toast.LENGTH_SHORT).show();

            // Log share completion via copy
            LogMaker targetLogMaker = new LogMaker(
+0 −3
Original line number Diff line number Diff line
@@ -2988,9 +2988,6 @@
    <!-- Displayed to the user to confirm that they have copied text from a web page to the clipboard. -->
    <string name="text_copied">Text copied to clipboard.</string>

    <!-- Displayed to the user to confirm that they have copied text/images to the clipboard [CHAR LIMIT=NONE] -->
    <string name="copied">Copied</string>

    <!-- Displayed to the user to inform them that an app has accessed clipboard data (pasted as in "copy and paste") that was copied from another app [CHAR LIMIT=50] -->
    <string name="pasted_from_app"><xliff:g id="pasting_app_name" example="Gmail">%1$s</xliff:g> pasted from <xliff:g id="source_app_name" example="Chrome">%2$s</xliff:g></string>