diff --git a/Android.mk b/Android.mk index 7db921bfa..08ac299ed 100644 --- a/Android.mk +++ b/Android.mk @@ -87,3 +87,12 @@ LOCAL_JAVA_LIBRARIES := android-support-design-res \ android-support-v4 \ android-support-v7-appcompat include $(BUILD_STATIC_JAVA_LIBRARY) + +# API Check +# --------------------------------------------- +support_module := $(LOCAL_MODULE) +support_module_api_dir := $(LOCAL_PATH)/api +support_module_src_files := $(LOCAL_SRC_FILES) +support_module_java_libraries := $(LOCAL_JAVA_LIBRARIES) +support_module_java_packages := android.support.design.widget +include $(SUPPORT_API_CHECK) diff --git a/api/current.txt b/api/current.txt index 8555e132c..b77c8af39 100644 --- a/api/current.txt +++ b/api/current.txt @@ -76,6 +76,7 @@ package android.support.design.widget { method public android.content.res.ColorStateList getItemTintList(); method public android.view.Menu getMenu(); method public android.view.View inflateHeaderView(int); + method public void inflateMenu(int); method public void removeHeaderView(android.view.View); method public void setItemBackgroundResource(int); method public void setItemTintList(android.content.res.ColorStateList);