Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7b1d8e6 authored by shubang's avatar shubang
Browse files

Change default value from NONE to UNKNOWN

Bug: 194523273
Test: atest MediaMetricsAtomTests
Change-Id: Ib5b96db02089f3b785507c7f5fd822bcb68f35ea
parent c97285ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
+2 −2
Original line number Diff line number Diff line
@@ -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<>();