Change default value from NONE to UNKNOWN
Bug: 194523273 Test: atest MediaMetricsAtomTests Change-Id: Ib5b96db02089f3b785507c7f5fd822bcb68f35ea
This commit is contained in:
@@ -317,7 +317,7 @@ public final class PlaybackErrorEvent extends Event implements Parcelable {
|
||||
*/
|
||||
public static final class Builder {
|
||||
private @Nullable Exception mException;
|
||||
private int mErrorCode;
|
||||
private int mErrorCode = ERROR_UNKNOWN;
|
||||
private int mSubErrorCode;
|
||||
private long mTimeSinceCreatedMillis = -1;
|
||||
private Bundle mMetricsBundle = new Bundle();
|
||||
|
||||
@@ -502,9 +502,9 @@ public final class PlaybackMetrics implements Parcelable {
|
||||
private long mMediaDurationMillis = -1;
|
||||
private int mStreamSource = STREAM_SOURCE_UNKNOWN;
|
||||
private int mStreamType = STREAM_TYPE_UNKNOWN;
|
||||
private int mPlaybackType = PLAYBACK_TYPE_OTHER;
|
||||
private int mPlaybackType = PLAYBACK_TYPE_UNKNOWN;
|
||||
private int mDrmType = DRM_TYPE_NONE;
|
||||
private int mContentType = CONTENT_TYPE_OTHER;
|
||||
private int mContentType = CONTENT_TYPE_UNKNOWN;
|
||||
private @Nullable String mPlayerName;
|
||||
private @Nullable String mPlayerVersion;
|
||||
private @NonNull List<Long> mExperimentIds = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user