From 3ff7a1f7f44e7d711b6e2b84a32de9ff9285daa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Paczos?= Date: Thu, 1 Aug 2019 11:18:18 +0300 Subject: [android] fix #15099 CP context reference --- .../java/com/mapbox/mapboxsdk/location/LocationLayerControllerTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 8f8a94f6ba..25cb1834bc 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 @@ -465,7 +465,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) } -- cgit v1.2.1