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

Commit 37963d61 authored by Adrian Roos's avatar Adrian Roos Committed by Android (Google) Code Review
Browse files

Merge "Notification: Remove actions from public view" into oc-dev

parents 45a5adad b19b06b6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4358,6 +4358,8 @@ public class Notification implements Parcelable
            mN.mLargeIcon = null;
            Bitmap largeIconLegacy = mN.largeIcon;
            mN.largeIcon = null;
            ArrayList<Action> actions = mActions;
            mActions = new ArrayList<>();
            Bundle publicExtras = new Bundle();
            publicExtras.putBoolean(EXTRA_SHOW_WHEN,
                    savedBundle.getBoolean(EXTRA_SHOW_WHEN));
@@ -4373,6 +4375,7 @@ public class Notification implements Parcelable
            mN.extras = savedBundle;
            mN.mLargeIcon = largeIcon;
            mN.largeIcon = largeIconLegacy;
            mActions = actions;
            mStyle = style;
            return view;
        }