mirror of
https://github.com/androidx/media.git
synced 2025-05-16 03:59:54 +08:00
Fix #187
This commit is contained in:
parent
4efc0abde9
commit
fc8c08d240
@ -376,7 +376,7 @@ public class HttpDataSource implements DataSource {
|
||||
connection.setReadTimeout(readTimeoutMillis);
|
||||
connection.setDoOutput(false);
|
||||
synchronized (requestProperties) {
|
||||
for (HashMap.Entry<String, String> property : requestProperties.entrySet()) {
|
||||
for (Map.Entry<String, String> property : requestProperties.entrySet()) {
|
||||
connection.setRequestProperty(property.getKey(), property.getValue());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user