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

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

Merge "Log after click: is remote input active" into main

parents fc85d3b3 e6752329
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -219,6 +219,7 @@ public class StatusBarNotificationActivityStarter implements NotificationActivit
            // We have an active remote input typed and the user clicked on the notification.
            // this was probably unintentional, so we're closing the edit text instead.
            mRemoteInputManager.closeRemoteInputs();
            mLogger.logCloseRemoteInput(entry);
            return;
        }
        Notification notification = entry.getSbn().getNotification();
+8 −0
Original line number Diff line number Diff line
@@ -72,6 +72,14 @@ class StatusBarNotificationActivityStarterLogger @Inject constructor(
        })
    }

    fun logCloseRemoteInput(entry: NotificationEntry) {
        buffer.log(TAG, DEBUG, {
            str1 = entry.logKey
        }, {
            "Closing remote input for $str1"
        })
    }

    fun logExpandingBubble(entry: NotificationEntry) {
        buffer.log(TAG, DEBUG, {
            str1 = entry.logKey