Merge "Don't log all instant app resolutions" into oc-dev am: 3ef0b8260f

am: 5ca9d413f8

Change-Id: I10e7c59edb955ba537a12bd52f7117b382d46d7f
This commit is contained in:
Todd Kennedy
2017-06-13 00:33:45 +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");