From 9758cb673f7db8c9a5e6951a1afadaaa85b787d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Mon, 7 Jan 2013 15:56:56 +0100 Subject: [PATCH] Externalize all import actions into ImportKeysActivity --- APG/AndroidManifest.xml | 109 ++-- ...mport_from_qr_code.xml => import_keys.xml} | 7 - APG/res/values/strings.xml | 4 +- APG/src/org/thialfihar/android/apg/Id.java | 13 +- .../android/apg/provider/ProviderHelper.java | 6 +- .../apg/ui/ImportFromQRCodeActivity.java | 272 ---------- .../android/apg/ui/ImportKeysActivity.java | 501 ++++++++++++++++++ .../android/apg/ui/KeyListActivity.java | 158 +----- .../android/apg/ui/KeyListFragment.java | 4 +- .../android/apg/ui/KeyListPublicActivity.java | 81 +-- .../android/apg/ui/KeyListPublicFragment.java | 32 +- .../android/apg/ui/KeyListSecretFragment.java | 9 +- .../apg/ui/KeyServerQueryActivity.java | 9 +- .../android/apg/ui/MainActivity.java | 5 +- README.md | 3 + 15 files changed, 665 insertions(+), 548 deletions(-) rename APG/res/layout/{import_from_qr_code.xml => import_keys.xml} (88%) delete mode 100644 APG/src/org/thialfihar/android/apg/ui/ImportFromQRCodeActivity.java create mode 100644 APG/src/org/thialfihar/android/apg/ui/ImportKeysActivity.java diff --git a/APG/AndroidManifest.xml b/APG/AndroidManifest.xml index 408e48364..cff694b0f 100644 --- a/APG/AndroidManifest.xml +++ b/APG/AndroidManifest.xml @@ -110,57 +110,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:label="@string/title_importFromQRCode" + android:uiOptions="splitActionBarWhenNarrow" > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -