Merge "Fix arrayList init bug that caused failures" into udc-dev am: a1aa15a3a5

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22084934

Change-Id: Id4b18d6120c1192cd9adb879fb0bea74a5021c2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Arpan Kaphle
2023-03-15 03:08:42 +00:00
committed by Automerger Merge Worker

View File

@@ -19,7 +19,6 @@ package com.android.server.credentials;
import static com.android.server.credentials.MetricUtilities.logApiCalled;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.UserIdInt;
import android.content.ComponentName;
import android.content.Context;
@@ -85,8 +84,8 @@ abstract class RequestSession<T, U> implements CredentialManagerUi.CredentialMan
// TODO(b/271135048) - Group metrics used in a scope together, such as here in RequestSession
// TODO(b/271135048) - Replace this with a new atom per each browsing emit (V4)
@Nullable
protected List<CandidateBrowsingPhaseMetric> mCandidateBrowsingPhaseMetric;
@NonNull
protected List<CandidateBrowsingPhaseMetric> mCandidateBrowsingPhaseMetric = new ArrayList<>();
// As emits occur in sequential order, increment this counter and utilize
protected int mSequenceCounter = 0;
protected final String mHybridService;