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

Commit aef23be0 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Fix inflating content views after removal" into rvc-dev am: 76807053 am: 14b897f9

Change-Id: I04497621ac27da40f97f122fabc98a7bb5b7b044
parents 3204b8d2 14b897f9
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -807,7 +807,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
        // TODO: Move inflation logic out of this call
        if (mIsChildInGroup != isChildInGroup) {
            mIsChildInGroup = isChildInGroup;
            if (mIsLowPriority) {
            if (!isRemoved() && mIsLowPriority) {
                RowContentBindParams params = mRowContentBindStage.getStageParams(mEntry);
                params.setUseLowPriority(mIsLowPriority);
                mRowContentBindStage.requestRebind(mEntry, null /* callback */);
@@ -1576,6 +1576,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
        // TODO: Move inflation logic out of this call and remove this method
        if (mNeedsRedaction != needsRedaction) {
            mNeedsRedaction = needsRedaction;
            if (!isRemoved()) {
                RowContentBindParams params = mRowContentBindStage.getStageParams(mEntry);
                if (needsRedaction) {
                    params.requireContentViews(FLAG_CONTENT_VIEW_PUBLIC);
@@ -1585,6 +1586,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
                mRowContentBindStage.requestRebind(mEntry, null /* callback */);
            }
        }
    }

    public interface ExpansionLogger {
        void logNotificationExpansion(String key, boolean userAction, boolean expanded);