diff options
author | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2019-08-01 11:17:36 +0300 |
---|---|---|
committer | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2019-08-01 11:17:36 +0300 |
commit | b43df074b37fa56efe3484c4c80a0f21f79da3d8 (patch) | |
tree | 869f75ee84a643a4fb5c10e5e236bc842c1a368b | |
parent | 8c954c34394baf6efd459bc6b89dfb807cea8b64 (diff) | |
download | qtlocation-mapboxgl-upstream/android-8.0.2-release-cherry-picks.tar.gz |
[android] fix #15099 CP context referenceupstream/android-8.0.2-release-cherry-picks
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/location/LocationLayerControllerTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/location/LocationLayerControllerTest.kt b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/location/LocationLayerControllerTest.kt index 7309967b47..9c439bca8f 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/location/LocationLayerControllerTest.kt +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/location/LocationLayerControllerTest.kt @@ -464,7 +464,7 @@ class LocationLayerControllerTest : EspressoTest() { @UiThreadTest fun test_15026_missingShadowGradientRadius() { // test for https://github.com/mapbox/mapbox-gl-native/issues/15026 - val shadowDrawable = BitmapUtils.getDrawableFromRes(context, R.drawable.mapbox_user_icon_shadow_0px_test) + val shadowDrawable = BitmapUtils.getDrawableFromRes(rule.activity, R.drawable.mapbox_user_icon_shadow_0px_test) Utils.generateShadow(shadowDrawable, 0f) } |