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

Commit 84a4e2a8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use FrameworkStatsLog instead of StatsLog"

parents e4eb22e7 550b84c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -378,7 +378,7 @@ message Atom {
        BootTimeEventUtcTime boot_time_event_utc_time_reported = 241;
        BootTimeEventErrorCode boot_time_event_error_code_reported = 242 [(module) = "framework"];
        UserspaceRebootReported userspace_reboot_reported = 243;
        NotificationReported notification_reported = 244;
        NotificationReported notification_reported = 244 [(module) = "framework"];
        NotificationPanelReported notification_panel_reported = 245;
        NotificationChannelModified notification_panel_modified = 246;
        IntegrityCheckResultReported integrity_check_result_reported = 247 [(module) = "framework"];
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.server.notification;

import android.util.StatsLog;
import com.android.internal.util.FrameworkStatsLog;

/**
 * Standard implementation of NotificationRecordLogger interface.
@@ -31,7 +31,7 @@ public class NotificationRecordLoggerImpl implements NotificationRecordLogger {
        if (!p.shouldLog(buzzBeepBlink)) {
            return;
        }
        StatsLog.write(StatsLog.NOTIFICATION_REPORTED,
        FrameworkStatsLog.write(FrameworkStatsLog.NOTIFICATION_REPORTED,
                /* int32 event_id = 1 */ p.getUiEvent().getId(),
                /* int32 uid = 2 */ r.getUid(),
                /* string package_name = 3 */ r.sbn.getPackageName(),