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

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

Merge "Make LooperStatsService ignore invalid sampling interval"

parents 23961c8a 37d41091
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -129,7 +129,12 @@ public class LooperStatsService extends Binder {
    }

    private void setSamplingInterval(int samplingInterval) {
        if (samplingInterval > 0) {
            mStats.setSamplingInterval(samplingInterval);
        } else {
            Slog.w(TAG, "Ignored invalid sampling interval (value must be positive): "
                    + samplingInterval);
        }
    }

    /**