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

Commit fd8a0240 authored by Mady Mellor's avatar Mady Mellor
Browse files

Mark mutability explicitly in tests

Fixes: 176869010
Test: atest BubbleTest
Change-Id: I5ace7342b3c20cf2946f86ed463fe7ae40105820
parent 31d0862e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ public class BubbleTest extends ShellTestCase {

        Intent target = new Intent(mContext, BubblesTestActivity.class);
        Notification.BubbleMetadata metadata = new Notification.BubbleMetadata.Builder(
                PendingIntent.getActivity(mContext, 0, target, 0),
                PendingIntent.getActivity(mContext, 0, target, PendingIntent.FLAG_MUTABLE),
                        Icon.createWithResource(mContext, R.drawable.bubble_ic_create_bubble))
                .build();
        when(mSbn.getNotification()).thenReturn(mNotif);