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

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

Merge "Merge "Add logging to NotifBindPipeline" into rvc-dev am: f13d436c...

Merge "Merge "Add logging to NotifBindPipeline" into rvc-dev am: f13d436c am: 927f8305 am: 1d694b5d" into rvc-qpr-dev-plus-aosp am: 1c1a87e4

Change-Id: I5fce66a0c3a1be825255164f68f28a9bcce831ca
parents c67f1886 1c1a87e4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -154,12 +154,14 @@ public final class NotifBindPipeline {
     * the real work once rather than repeatedly start and cancel it.
     */
    private void requestPipelineRun(NotificationEntry entry) {
        mLogger.logRequestPipelineRun(entry.getKey());

        final BindEntry bindEntry = getBindEntry(entry);
        if (bindEntry.row == null) {
            // Row is not managed yet but may be soon. Stop for now.
            mLogger.logRequestPipelineRowNotSet(entry.getKey());
            return;
        }
        mLogger.logRequestPipelineRun(entry.getKey());

        // Abort any existing pipeline run
        mStage.abortStage(entry, bindEntry.row);
+9 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.systemui.statusbar.notification.row

import com.android.systemui.log.LogBuffer
import com.android.systemui.log.LogLevel.INFO
import com.android.systemui.log.LogLevel.WARNING
import com.android.systemui.log.dagger.NotificationLog
import javax.inject.Inject

@@ -48,6 +49,14 @@ class NotifBindPipelineLogger @Inject constructor(
        })
    }

    fun logRequestPipelineRowNotSet(notifKey: String) {
        buffer.log(TAG, WARNING, {
            str1 = notifKey
        }, {
            "Row is not set so pipeline will not run. notif = $str1"
        })
    }

    fun logStartPipeline(notifKey: String) {
        buffer.log(TAG, INFO, {
            str1 = notifKey