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

Commit 15715786 authored by Dan Sandler's avatar Dan Sandler Committed by android-build-merger
Browse files

Merge "Minor text fixes." into oc-dev am: 818c408e

am: ba7435fd

Change-Id: Id5bac5e8654e55d03835bdf5dc660d5985d67cbc
parents 380163d4 ba7435fd
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -376,7 +376,20 @@ public final class NotificationRecord {
        pw.println(prefix + "fullscreenIntent=" + notification.fullScreenIntent);
        pw.println(prefix + "contentIntent=" + notification.contentIntent);
        pw.println(prefix + "deleteIntent=" + notification.deleteIntent);
        pw.println(prefix + "tickerText=" + notification.tickerText);

        pw.print(prefix + "tickerText=");
        if (!TextUtils.isEmpty(notification.tickerText)) {
            final String ticker = notification.tickerText.toString();
            if (redact) {
                // if the string is long enough, we allow ourselves a few bytes for debugging
                pw.print(ticker.length() > 16 ? ticker.substring(0,8) : "");
                pw.println("...");
            } else {
                pw.println(ticker);
            }
        } else {
            pw.println("null");
        }
        pw.println(prefix + "contentView=" + notification.contentView);
        pw.println(prefix + String.format("color=0x%08x", notification.color));
        pw.println(prefix + "timeout=" + TimeUtils.formatForLogging(notification.getTimeout()));