diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-08-01 11:29:16 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-08-01 11:29:16 +0200 |
commit | 995aa163234be3cb40c81b307bc4f47b990a35e3 (patch) | |
tree | 658f8b707641b23837c10c7145ba41205377f3e6 /platform/android/src/http_file_source.cpp | |
parent | 54ca0c357bf522cb01fa3ee2f1131aac9b9c0cc0 (diff) | |
download | qtlocation-mapboxgl-995aa163234be3cb40c81b307bc4f47b990a35e3.tar.gz |
Diffstat (limited to 'platform/android/src/http_file_source.cpp')
-rw-r--r-- | platform/android/src/http_file_source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/http_file_source.cpp b/platform/android/src/http_file_source.cpp index 8a54b2917a..fd77f8ec85 100644 --- a/platform/android/src/http_file_source.cpp +++ b/platform/android/src/http_file_source.cpp @@ -132,7 +132,7 @@ void HTTPRequest::onResponse(jni::JNIEnv& env, int code, } else { response.data = std::make_shared<std::string>(); } - } else if (code == 204 || (code == 404 && resource.kind == ResourceKind::Tile)) { + } else if (code == 204) { response.noContent = true; } else if (code == 304) { response.notModified = true; |