If the caller of MediaPlayer.setDataSource has installed its own CookieHandler when cookies are provided, MediaPlayer.setDataSource requires that the CookieHandler has to be of CookieManager type. Bug: 63638018 Test: manual Change-Id: I1539d1fa83440ddfb00cc958cd46b9917fe3a296