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

Commit b639d14f authored by David Chen's avatar David Chen
Browse files

More formatting fixes for statsd

Test: N/A
Change-Id: I378cde8700655bfba26b112ae6df1b4347683bdb
parent 581576ef
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -571,8 +571,8 @@ status_t StatsService::cmd_log_app_breadcrumb(FILE* out, const Vector<String8>&
            good = true;
        } else {
            fprintf(out,
                    "Selecting a UID for writing Appbreadcrumb can only be dumped for other UIDs on eng"
                            " or userdebug builds.\n");
                    "Selecting a UID for writing AppBreadcrumb can only be done for other UIDs "
                            "on eng or userdebug builds.\n");
        }
    }
    if (good) {
+2 −2
Original line number Diff line number Diff line
@@ -193,8 +193,8 @@ private:
    status_t cmd_write_data_to_disk(FILE* out);

    /**
     * Write an AppBreadcrumbReported event to the StatsLog buffer, as though StatsLog.write
     * (APP_BREADCRUMB_REPORTED).
     * Write an AppBreadcrumbReported event to the StatsLog buffer, as if calling
     * StatsLog.write(APP_BREADCRUMB_REPORTED).
     */
    status_t cmd_log_app_breadcrumb(FILE* out, const Vector<String8>& args);

+3 −2
Original line number Diff line number Diff line
@@ -188,8 +188,9 @@ void MetricsManager::onLogEvent(const LogEvent& event) {
        return;
    }

    if (event.GetTagId() == android::util::APP_BREADCRUMB_REPORTED) { // Check that app hook fields are valid.
        // TODO: Find a way to make these checks easier to maintain if the app hooks get changed.
    if (event.GetTagId() == android::util::APP_BREADCRUMB_REPORTED) {
        // Check that app breadcrumb reported fields are valid.
        // TODO: Find a way to make these checks easier to maintain.
        status_t err = NO_ERROR;

        // Uid is 3rd from last field and must match the caller's uid,
+1 −1

File changed.

Contains only whitespace changes.