Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] fix #15099 CP context reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Łukasz Paczos committed Aug 1, 2019
1 parent c2201da commit 3ff7a1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 3ff7a1f

Please sign in to comment.