From 7adf07a9f9bc53ec98338f92b760b75e31559c8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Thu, 21 Aug 2014 10:47:29 +0200 Subject: [PATCH] XML cleanup --- .../src/main/res/xml/account_desc.xml | 7 +++---- .../src/main/res/xml/adv_preferences.xml | 17 ----------------- .../res/xml/custom_pgp_contacts_structure.xml | 5 +++-- .../src/main/res/xml/gen_preferences.xml | 19 +------------------ .../src/main/res/xml/preference_headers.xml | 17 ----------------- .../res/xml/preference_headers_legacy.xml | 17 ----------------- .../src/main/res/xml/sync_adapter_desc.xml | 8 ++++---- 7 files changed, 11 insertions(+), 79 deletions(-) diff --git a/OpenKeychain/src/main/res/xml/account_desc.xml b/OpenKeychain/src/main/res/xml/account_desc.xml index a6989e9ef..41ce8fe48 100644 --- a/OpenKeychain/src/main/res/xml/account_desc.xml +++ b/OpenKeychain/src/main/res/xml/account_desc.xml @@ -1,6 +1,5 @@ - + android:accountType="org.sufficientlysecure.keychain" + android:icon="@drawable/ic_launcher" + android:label="@string/app_name" /> diff --git a/OpenKeychain/src/main/res/xml/adv_preferences.xml b/OpenKeychain/src/main/res/xml/adv_preferences.xml index 49f241ffe..02fa4ec40 100644 --- a/OpenKeychain/src/main/res/xml/adv_preferences.xml +++ b/OpenKeychain/src/main/res/xml/adv_preferences.xml @@ -1,20 +1,3 @@ - - - + \ No newline at end of file diff --git a/OpenKeychain/src/main/res/xml/gen_preferences.xml b/OpenKeychain/src/main/res/xml/gen_preferences.xml index 10be61b6a..fd3c6c31a 100644 --- a/OpenKeychain/src/main/res/xml/gen_preferences.xml +++ b/OpenKeychain/src/main/res/xml/gen_preferences.xml @@ -1,22 +1,5 @@ - - - + - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . ---> -
- - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . ---> - diff --git a/OpenKeychain/src/main/res/xml/sync_adapter_desc.xml b/OpenKeychain/src/main/res/xml/sync_adapter_desc.xml index d8fe60e91..bbfd41842 100644 --- a/OpenKeychain/src/main/res/xml/sync_adapter_desc.xml +++ b/OpenKeychain/src/main/res/xml/sync_adapter_desc.xml @@ -1,6 +1,6 @@ \ No newline at end of file + android:contentAuthority="com.android.contacts" + android:accountType="org.sufficientlysecure.keychain" + android:supportsUploading="false" + android:userVisible="true" /> \ No newline at end of file