Marco Nelissen
d4f64f27b0
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
2018-06-20 07:42:05 -07:00
..
2018-05-21 19:01:45 -07:00
2018-03-06 13:54:23 -08:00
2018-02-16 20:45:22 +00:00
2018-05-19 08:36:51 +09:00
2018-05-09 13:53:48 +02:00
2017-12-08 17:33:40 -07:00
2018-04-05 16:45:05 -07:00
2018-04-09 21:24:25 +00:00
2018-03-28 08:23:19 -07:00
2018-02-05 10:56:58 -08:00
2018-05-04 18:16:11 -07:00
2018-05-15 10:10:47 -07:00
2018-05-23 18:58:28 +00:00
2018-03-22 10:55:24 -04:00
2018-04-11 17:22:59 -07:00
2018-01-23 17:03:55 -08:00
2018-04-06 13:30:28 -07:00
2018-04-11 16:18:51 -07:00
2018-05-15 10:10:47 -07:00
2018-03-23 01:12:14 +00:00
2018-04-10 10:45:44 -07:00
2018-03-28 11:35:14 -07:00
2018-03-22 16:30:14 -07:00
2018-05-09 18:52:01 -07:00
2018-02-05 10:56:58 -08:00
2018-02-09 18:14:58 -08:00
2018-05-23 17:24:55 +00:00
2018-05-22 20:43:07 +00:00
2018-04-06 13:01:45 +01:00
2018-05-22 20:43:07 +00:00
2018-01-29 11:57:04 +09:00
2018-03-22 16:30:14 -07:00
2018-01-24 11:03:37 -08:00
2018-01-24 11:03:37 -08:00
2018-01-25 12:44:57 +09:00
2018-03-23 01:12:14 +00:00
2018-05-30 17:43:58 +00:00
2018-04-11 10:29:12 -07:00
2018-03-27 16:51:51 +09:00
2018-02-08 16:29:37 -08:00
2018-02-28 10:57:15 -08:00
2018-04-27 23:46:07 +00:00
2018-02-01 16:46:07 +00:00
2018-05-17 15:26:28 -07:00
2018-06-20 07:42:05 -07:00
2018-03-27 11:33:17 +09:00
2018-03-27 11:33:17 +09:00
2018-03-27 11:33:17 +09:00
2017-12-08 17:33:40 -07:00
2018-04-14 00:23:37 +00:00
2018-02-22 18:51:54 +00:00
2018-03-22 16:30:14 -07:00
2018-03-15 11:26:37 -07:00
2018-05-22 15:26:01 -07:00
2018-03-27 16:51:51 +09:00
2018-03-27 11:33:17 +09:00
2018-04-11 16:18:51 -07:00
2018-04-25 14:39:04 -07:00
2018-03-27 16:51:51 +09:00
2018-03-27 11:33:17 +09:00
2018-04-04 09:54:14 -07:00
2018-03-28 08:23:19 -07:00
2018-03-08 21:46:15 +00:00
2018-04-06 19:23:53 -07:00
2018-04-11 17:22:59 -07:00
2018-03-27 11:33:17 +09:00
2018-02-28 12:57:55 -08:00
2018-01-31 21:47:22 -07:00
2018-03-27 16:48:26 +09:00
2018-03-27 16:48:26 +09:00
2018-03-27 11:33:17 +09:00
2018-03-28 11:35:14 -07:00
2018-04-12 00:08:57 +00:00
2018-02-06 14:45:38 -05:00
2018-03-27 11:33:17 +09:00
2018-04-05 20:28:33 -07:00