Merge "Turn down restore-time logspam" into nyc-mr1-dev

This commit is contained in:
Chris Tate
2016-07-15 18:05:06 +00:00
committed by Android (Google) Code Review

View File

@@ -5501,11 +5501,11 @@ public class BackupManagerService {
// If the policy is satisfied, go ahead and set up to pipe the // If the policy is satisfied, go ahead and set up to pipe the
// data to the agent. // data to the agent.
if (DEBUG && okay && mAgent != null) { if (MORE_DEBUG && okay && mAgent != null) {
Slog.i(TAG, "Reusing existing agent instance"); Slog.i(TAG, "Reusing existing agent instance");
} }
if (okay && mAgent == null) { if (okay && mAgent == null) {
if (DEBUG) Slog.d(TAG, "Need to launch agent for " + pkg); if (MORE_DEBUG) Slog.d(TAG, "Need to launch agent for " + pkg);
try { try {
mTargetApp = mPackageManager.getApplicationInfo(pkg, 0); mTargetApp = mPackageManager.getApplicationInfo(pkg, 0);