Merge "Logging in StatsCompanionService" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-12 17:37:11 +00:00
committed by Android (Google) Code Review

View File

@@ -278,7 +278,7 @@ public class StatsCompanionService extends IStatsCompanionService.Stub {
&& intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) {
return; // Keep only replacing or normal add and remove.
}
Slog.i(TAG, "StatsCompanionService noticed an app was updated.");
if (DEBUG) Slog.d(TAG, "StatsCompanionService noticed an app was updated.");
synchronized (sStatsdLock) {
if (sStatsd == null) {
Slog.w(TAG, "Could not access statsd to inform it of an app update");