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

am: 3ef0b8260f

Change-Id: Ibcc839c12fd0c23da254992a7147abb1e08d17cc
This commit is contained in:
Todd Kennedy
2017-06-12 21:57:15 +00:00
committed by android-build-merger

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");