diff options
author | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2019-08-01 11:18:18 +0300 |
---|---|---|
committer | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2019-08-01 11:18:18 +0300 |
commit | 3ff7a1f7f44e7d711b6e2b84a32de9ff9285daa0 (patch) | |
tree | fa3b77af619f0734270f83bcf53bd221a5fd1c93 | |
parent | c2201da425aa9b1c2f1d58b041d4b7bad3403110 (diff) | |
download | qtlocation-mapboxgl-3ff7a1f7f44e7d711b6e2b84a32de9ff9285daa0.tar.gz |
[android] fix #15099 CP context referenceupstream/ls-android-7.4.1-mojito-patch-release-cherry-pick
-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 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) } |