Merge "Change default value from NONE to UNKNOWN" into sc-dev am: 8e31f85e02
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15377214 Change-Id: Id8efdbbf549be60cf2ba769b2cceafdba239b1ac
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