Index: include/effects/SkDiscretePathEffect.h |
diff --git a/include/effects/SkDiscretePathEffect.h b/include/effects/SkDiscretePathEffect.h |
index 136d452ae7a24f6f941dadd2f6116e2983b1f2b9..ea44d654cf0a99dfa5f6150e6fd576e1238a1c6b 100644 |
--- a/include/effects/SkDiscretePathEffect.h |
+++ b/include/effects/SkDiscretePathEffect.h |
@@ -42,6 +42,10 @@ public: |
SK_TO_STRING_OVERRIDE() |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDiscretePathEffect) |
+#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK |
+ bool exposedInAndroidJavaAPI() const SK_OVERRIDE { return true; } |
+#endif |
+ |
protected: |
SkDiscretePathEffect(SkScalar segLength, |
SkScalar deviation, |