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

Commit 5c586c41 authored by Lyn Han's avatar Lyn Han Committed by Android (Google) Code Review
Browse files

Merge "Log when entry is saved for removal after expand" into main

parents 89f095b5 d87e4ec2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -636,6 +636,7 @@ public class HeadsUpManagerPhone extends BaseHeadsUpManager implements
                            mOnReorderingAllowedListener);
                } else if (mTrackingHeadsUp) {
                    mEntriesToRemoveAfterExpand.add(entry);
                    mLogger.logRemoveEntryAfterExpand(entry);
                } else if (mVisualStabilityProvider.isReorderingAllowed()
                        || entry.showingPulsing()) {
                    removeEntry(entry.getKey(), "createRemoveRunnable");
+8 −0
Original line number Diff line number Diff line
@@ -293,6 +293,14 @@ constructor(@NotificationHeadsUpLog private val buffer: LogBuffer) {
            { "has pinned notification changed to $bool1" }
        )
    }

    fun logRemoveEntryAfterExpand(entry: NotificationEntry) {
        buffer.log(TAG, VERBOSE, {
            str1 = entry.logKey
        }, {
            "remove entry after expand: $str1"
        })
    }
}

private const val TAG = "HeadsUpManager"