aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/ActionBarSherlock/src/com/actionbarsherlock/internal/view/ActionProviderWrapper.java
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-02-02 14:13:09 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2014-02-02 14:13:09 +0100
commit6eaf45940e415ba66ed28b339d63bac9d8623718 (patch)
treed21a37f42ffca30502843cf19acd0c9469304d54 /libraries/ActionBarSherlock/src/com/actionbarsherlock/internal/view/ActionProviderWrapper.java
parentf916c8f5af5fd46037dd7d4be28155dac67b1634 (diff)
downloadopen-keychain-6eaf45940e415ba66ed28b339d63bac9d8623718.tar.gz
open-keychain-6eaf45940e415ba66ed28b339d63bac9d8623718.tar.bz2
open-keychain-6eaf45940e415ba66ed28b339d63bac9d8623718.zip
Switch from ActionBarSherlock to ActionBarCompat
Diffstat (limited to 'libraries/ActionBarSherlock/src/com/actionbarsherlock/internal/view/ActionProviderWrapper.java')
-rw-r--r--libraries/ActionBarSherlock/src/com/actionbarsherlock/internal/view/ActionProviderWrapper.java40
1 files changed, 0 insertions, 40 deletions
diff --git a/libraries/ActionBarSherlock/src/com/actionbarsherlock/internal/view/ActionProviderWrapper.java b/libraries/ActionBarSherlock/src/com/actionbarsherlock/internal/view/ActionProviderWrapper.java
deleted file mode 100644
index b136d50f0..000000000
--- a/libraries/ActionBarSherlock/src/com/actionbarsherlock/internal/view/ActionProviderWrapper.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package com.actionbarsherlock.internal.view;
-
-import com.actionbarsherlock.internal.view.menu.SubMenuWrapper;
-import com.actionbarsherlock.view.ActionProvider;
-import android.view.View;
-
-public class ActionProviderWrapper extends android.view.ActionProvider {
- private final ActionProvider mProvider;
-
-
- public ActionProviderWrapper(ActionProvider provider) {
- super(null/*TODO*/); //XXX this *should* be unused
- mProvider = provider;
- }
-
-
- public ActionProvider unwrap() {
- return mProvider;
- }
-
- @Override
- public View onCreateActionView() {
- return mProvider.onCreateActionView();
- }
-
- @Override
- public boolean hasSubMenu() {
- return mProvider.hasSubMenu();
- }
-
- @Override
- public boolean onPerformDefaultAction() {
- return mProvider.onPerformDefaultAction();
- }
-
- @Override
- public void onPrepareSubMenu(android.view.SubMenu subMenu) {
- mProvider.onPrepareSubMenu(new SubMenuWrapper(subMenu));
- }
-}