From 224e8a7554a58f98b6ff71cc1a15d14108f98242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sun, 30 Mar 2014 19:29:07 +0200 Subject: [PATCH] Remove cancel from app menu --- .../keychain/remote/ui/AppSettingsActivity.java | 3 --- OpenPGP-Keychain/src/main/res/menu/api_app_settings.xml | 4 ---- 2 files changed, 7 deletions(-) diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/remote/ui/AppSettingsActivity.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/remote/ui/AppSettingsActivity.java index 9e0ba49eb..f6f9631cb 100644 --- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/remote/ui/AppSettingsActivity.java +++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/remote/ui/AppSettingsActivity.java @@ -80,9 +80,6 @@ public class AppSettingsActivity extends ActionBarActivity { case R.id.menu_api_settings_revoke: revokeAccess(); return true; - case R.id.menu_api_settings_cancel: - finish(); - return true; } return super.onOptionsItemSelected(item); } diff --git a/OpenPGP-Keychain/src/main/res/menu/api_app_settings.xml b/OpenPGP-Keychain/src/main/res/menu/api_app_settings.xml index 82ee57a73..a21db6708 100644 --- a/OpenPGP-Keychain/src/main/res/menu/api_app_settings.xml +++ b/OpenPGP-Keychain/src/main/res/menu/api_app_settings.xml @@ -6,9 +6,5 @@ android:id="@+id/menu_api_settings_revoke" android:title="@string/api_settings_revoke" app:showAsAction="never" /> - \ No newline at end of file