Pin messaging to use Jack with 1.7 language
There is a bug in the current version of Jack
that causes problems when the default is changed to
1.8. Pinning to 1.7 appears to help.
Bug: 27305482
Bug: 26753820
Change-Id: Ia29bf5cb14c754be4c4b453aa89a9d9c369d9e52
diff --git a/Android.mk b/Android.mk
index e2ed18b..64f1935 100644
--- a/Android.mk
+++ b/Android.mk
@@ -81,6 +81,9 @@
LOCAL_SDK_VERSION := current
+# Workaround for http://b/27305482
+LOCAL_JAVA_LANGUAGE_VERSION := 1.7
+
include $(BUILD_PACKAGE)
include $(call all-makefiles-under, $(LOCAL_PATH))