Merge "Logging in StatsCompanionService" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
fe00a37b8f
@@ -278,7 +278,7 @@ public class StatsCompanionService extends IStatsCompanionService.Stub {
|
|||||||
&& intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) {
|
&& intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) {
|
||||||
return; // Keep only replacing or normal add and remove.
|
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) {
|
synchronized (sStatsdLock) {
|
||||||
if (sStatsd == null) {
|
if (sStatsd == null) {
|
||||||
Slog.w(TAG, "Could not access statsd to inform it of an app update");
|
Slog.w(TAG, "Could not access statsd to inform it of an app update");
|
||||||
|
|||||||
Reference in New Issue
Block a user