Merge "Don't log all instant app resolutions" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-06-12 21:51:27 +00:00
committed by Android (Google) Code Review

View File

@@ -121,8 +121,11 @@ public abstract class InstantAppResolver {
resolutionStatus = RESOLUTION_FAILURE;
}
}
logMetrics(ACTION_INSTANT_APP_RESOLUTION_PHASE_ONE, startTime, token,
resolutionStatus);
// Only log successful instant application resolution
if (resolutionStatus == RESOLUTION_SUCCESS) {
logMetrics(ACTION_INSTANT_APP_RESOLUTION_PHASE_ONE, startTime, token,
resolutionStatus);
}
if (DEBUG_EPHEMERAL && resolveInfo == null) {
if (resolutionStatus == RESOLUTION_BIND_TIMEOUT) {
Log.d(TAG, "[" + token + "] Phase1; bind timed out");