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

Commit 75e2af76 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add the mutability flag to the pendingIntent"

parents 43f8e3bb 63c4595b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -48,8 +48,6 @@ import org.junit.runner.RunWith;
import org.robolectric.Robolectric;
import org.robolectric.RobolectricTestRunner;

import java.util.Collections;

@RunWith(RobolectricTestRunner.class)
public class SliceFullCardRendererHelperTest {

@@ -138,7 +136,7 @@ public class SliceFullCardRendererHelperTest {
                mActivity,
                title.hashCode() /* requestCode */,
                new Intent("test action"),
                0  /* flags */);
                PendingIntent.FLAG_IMMUTABLE);
        final SliceAction action
                = SliceAction.createDeeplink(pendingIntent, icon, ListBuilder.SMALL_IMAGE, title);
        return new ListBuilder(mActivity, TEST_SLICE_URI, ListBuilder.INFINITY)
+1 −1
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ public class SliceHalfCardRendererHelperTest {
                mActivity,
                title.hashCode() /* requestCode */,
                new Intent("test action"),
                0  /* flags */);
                PendingIntent.FLAG_IMMUTABLE);
        final SliceAction action
                = SliceAction.createDeeplink(pendingIntent, icon, ListBuilder.SMALL_IMAGE, title);
        return new ListBuilder(mActivity, TEST_SLICE_URI, ListBuilder.INFINITY)