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

Commit f28a557d authored by Arindam Mondal's avatar Arindam Mondal Committed by Android (Google) Code Review
Browse files

Revert "ChangeReporter: disable eager reporting"

This reverts commit 131354be.

Reason for revert: “DroidMonitor: Potential culprit for Bug b/271512785 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.”.

Change-Id: I6e857a07ebd5c0305472b6832c45ae75017a8744
parent 131354be
Loading
Loading
Loading
Loading
+7 −10
Original line number Diff line number Diff line
@@ -42,7 +42,6 @@ import java.util.Set;
public final class ChangeReporter {
    private static final String TAG = "CompatibilityChangeReporter";
    private int mSource;
    private static final boolean sShouldReport = false;

    private static final class ChangeReport {
        long mChangeId;
@@ -90,7 +89,6 @@ public final class ChangeReporter {
     * @param state    of the reported change - enabled/disabled/only logged
     */
    public void reportChange(int uid, long changeId, int state) {
        if (sShouldReport) {
        if (shouldWriteToStatsLog(uid, changeId, state)) {
            FrameworkStatsLog.write(FrameworkStatsLog.APP_COMPATIBILITY_CHANGE_REPORTED, uid,
                    changeId, state, mSource);
@@ -100,7 +98,6 @@ public final class ChangeReporter {
        }
        markAsReported(uid, new ChangeReport(changeId, state));
    }
    }

    /**
     * Start logging all the time to logcat.