Suppress RestrictedApi in CustomPopupMenu
There is no substitute in SDK for MenuBuilder
This commit is contained in:
parent
fcbb675af0
commit
8ce905bf64
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user