summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Paczos <lukasz.paczos@mapbox.com>2019-08-01 11:17:36 +0300
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2019-08-01 15:25:27 +0300
commit9c93638c79a65edec69a6b1ae79f550d8575e52d (patch)
tree869f75ee84a643a4fb5c10e5e236bc842c1a368b
parenteeac156f3202cde2258726228b58daf40a47f357 (diff)
downloadqtlocation-mapboxgl-android-v8.0.2.tar.gz
[android] fix #15099 CP context referenceandroid-v8.0.2
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/location/LocationLayerControllerTest.kt2
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)
}