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

Commit 5991eee5 authored by Rasheed Lewis's avatar Rasheed Lewis Committed by Automerger Merge Worker
Browse files

Merge "Change image attachment test to use a public resource ID" into...

Merge "Change image attachment test to use a public resource ID" into tm-qpr-dev am: 7fc1f0cb am: 26a9262d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20065272



Change-Id: Id2bada7f1496b5fe3fce09cdfc095153faa63094
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents bb25387f 26a9262d
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -275,10 +275,9 @@ public class RemoteInputViewTest extends SysuiTestCase {
        EditText editText = view.findViewById(R.id.remote_input_text);
        editText.setText(TEST_REPLY);
        ClipDescription description = new ClipDescription("", new String[] {"image/png"});
        // We need to use an (arbitrary) real resource here so that an actual image gets attached.
        // We need to use an (arbitrary) real resource here so that an actual image gets attached
        ClipData clip = new ClipData(description, new ClipData.Item(
                Uri.parse("android.resource://com.android.systemui/"
                        + R.drawable.default_thumbnail)));
                Uri.parse("android.resource://android/" + android.R.drawable.btn_default)));
        ContentInfo payload =
                new ContentInfo.Builder(clip, SOURCE_CLIPBOARD).build();
        view.setAttachment(payload);