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

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

Mark mutability explicitly on the bubble overflow intent

Fixes: 175352055
Test: TH / manual - check that bubble overflow opens fine
Change-Id: I7b987fd8a19930e08538e56c0377981c9a9a1756
parent 0a398edf
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -471,13 +471,12 @@ public class BubbleExpandedView extends LinearLayout {
        mIsOverflow = overflow;

        Intent target = new Intent(mContext, BubbleOverflowActivity.class);
        target.addFlags(FLAG_ACTIVITY_NEW_DOCUMENT | FLAG_ACTIVITY_MULTIPLE_TASK);
        Bundle extras = new Bundle();
        extras.putBinder(EXTRA_BUBBLE_CONTROLLER, ObjectWrapper.wrap(mController));
        target.putExtras(extras);
        // TODO(b/175352055) Please replace FLAG_MUTABLE_UNAUDITED below
        // with either FLAG_IMMUTABLE (recommended) or FLAG_MUTABLE.
        mPendingIntent = PendingIntent.getActivity(mContext, 0 /* requestCode */,
                target, PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_MUTABLE_UNAUDITED);
                target, PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
        mSettingsIcon.setVisibility(GONE);
    }