From 8ce905bf64f9540655d6704452f5b6e8bd292f97 Mon Sep 17 00:00:00 2001 From: serso Date: Tue, 11 Jul 2017 12:33:00 +0200 Subject: [PATCH] Suppress RestrictedApi in CustomPopupMenu There is no substitute in SDK for MenuBuilder --- .../java/org/solovyev/android/widget/menu/CustomPopupMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/solovyev/android/widget/menu/CustomPopupMenu.java b/app/src/main/java/org/solovyev/android/widget/menu/CustomPopupMenu.java index c307b4eb..ae47174f 100644 --- a/app/src/main/java/org/solovyev/android/widget/menu/CustomPopupMenu.java +++ b/app/src/main/java/org/solovyev/android/widget/menu/CustomPopupMenu.java @@ -39,7 +39,7 @@ import android.view.View; * to switch to the framework's implementation. See the framework SDK * documentation for a class overview. */ -@SuppressWarnings("unused") +@SuppressWarnings({"unused", "RestrictedApi"}) public class CustomPopupMenu implements MenuBuilder.Callback, MenuPresenter.Callback { private Context mContext; private MenuBuilder mMenu;