Marco Nelissen 83f827e7d5 Fix race condition in MediaHTTPConnection
getSize() and getMIMEType() rely on seekTo() having completed.
If seekTo() was called on a different thread, for example because
NuCachedSource2 was doing reads on a background thread, getSize()
could return -1 if it was called after connection was established,
but before the response had been parsed.

Bug: 110230427
Test: manual
Change-Id: I469b47e025f1c7a7ef3123d3347668f0541e6f2d
(cherry picked from commit d4f64f27b0)
2018-06-21 00:58:05 +00:00
2018-06-08 13:09:18 +01:00
2018-06-06 18:08:01 -07:00
2018-06-04 17:12:41 +01:00
2017-05-01 10:22:44 -04:00
2017-11-20 11:13:48 -08:00
…
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%