commit | 9bfb46f6ff1fb90593dc03678a7dc78671410a79 | [log] [tgz] |
---|---|---|
author | Sungsoo Lim <sungsoo@google.com> | Mon Jul 17 14:24:26 2017 -0700 |
committer | Sungsoo Lim <sungsoo@google.com> | Wed Jul 19 18:40:16 2017 +0000 |
tree | 4c6a04062babfa3dc694ec6b5c15c70be558856b | |
parent | d5f442d65b943247ace54e601f811e0f579c3cf5 [diff] |
Type check before casting from CookieHandler to CookieManager CookieHandler.getDefault() doesn't always return CookieManager. Bug: 63638018 Test: pass StreamingMediaPlayerTest#testHlsWithHeadersCookies Test: manual with a test app Change-Id: Ie7c19d38f779813f3fffb9abbcb3188a0fca3f45