Don't log all instant app resolutions
we only want to log the successes Change-Id: I31c79a1c964088ee67fd7527ca7fea16b0d29830 Fixes: 36563095 Test: Manual; run and see that only the success events are in the eventlog
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user