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

Commit 73371d75 authored by gfan's avatar gfan
Browse files

Add Nullable to MediaHTTPService's mCookies.

Bug: 29321867
Test: manually tested with ndk sample native-audio
Change-Id: Ic30fe7c28db0111ee5bcb91b037b7c4536dcfd06
parent 7e83b790
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package android.media;

import android.annotation.Nullable;
import android.os.IBinder;
import android.util.Log;

@@ -28,10 +29,10 @@ import java.util.List;
/** @hide */
public class MediaHTTPService extends IMediaHTTPService.Stub {
    private static final String TAG = "MediaHTTPService";
    private List<HttpCookie> mCookies;
    @Nullable private List<HttpCookie> mCookies;
    private Boolean mCookieStoreInitialized = new Boolean(false);

    public MediaHTTPService(List<HttpCookie> cookies) {
    public MediaHTTPService(@Nullable List<HttpCookie> cookies) {
        mCookies = cookies;
        Log.v(TAG, "MediaHTTPService(" + this + "): Cookies: " + cookies);
    }