[android] - remove mips and armeabi as supported ABIs

[android] - bump CI image to NDK 17 compatible

[core] - remove setting edgeDistance to 0, comparison 'const short' > 32767 is always false

[android] - remove throwing in desructor, undefined behaviour

[android] - bump dependency versions of project
This commit is contained in:
Tobrun
2018-03-15 13:07:46 +01:00
committed by Tobrun
parent cce72e2d36
commit 60505b0317
11 changed files with 34 additions and 35 deletions

View File

@@ -1,6 +1,7 @@
#include "bitmap.hpp"
#include <android/bitmap.h>
#include <mbgl/util/logging.hpp>
namespace mbgl {
namespace android {
@@ -17,7 +18,7 @@ public:
~PixelGuard() {
const int result = AndroidBitmap_unlockPixels(&env, jni::Unwrap(*bitmap));
if (result != ANDROID_BITMAP_RESULT_SUCCESS) {
throw std::runtime_error("bitmap decoding: could not unlock pixels");
Log::Warning(mbgl::Event::General, "Bitmap decoding: could not unlock pixels");
}
}