Commit 46d65a0e authored by Abhishek Aggarwal's avatar Abhishek Aggarwal
Browse files

AccountManager: dont show /e/ pref on non e accounts

parent 8f40f142
Pipeline #184197 passed with stage
in 7 minutes and 11 seconds
......@@ -7,7 +7,7 @@
-->
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
android:accountPreferences="@xml/sync_prefs"
android:accountPreferences="@xml/sync_prefs_eelo"
android:accountType="@string/account_type_eelo_address_book"
android:icon="@drawable/ic_account_provider_eelo"
android:label="@string/account_title_eelo_address_book"
......
......@@ -7,7 +7,7 @@
-->
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
android:accountPreferences="@xml/sync_prefs"
android:accountPreferences="@xml/sync_prefs_eelo"
android:accountType="@string/eelo_account_type"
android:icon="@drawable/ic_account_provider_eelo"
android:label="@string/eelo_account_name"
......
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2013 – 2015 Ricki Hirner (bitfire web engineering).
~ All rights reserved. This program and the accompanying materials
......@@ -13,15 +12,13 @@
<PreferenceScreen
android:iconSpaceReserved="true"
android:summary="@string/advanced_account_summary"
android:title="@string/advanced_account_title"
android:summary="@string/manage_account_description"
android:title="@string/manage_accounts"
android:order="300"
settings:allowDividerBelow="false">
settings:allowDividerAbove="false">
<intent
android:action="ACTION_VIEW"
android:targetClass="foundation.e.drive.activity.AccountsActivity"
android:targetPackage="foundation.e.drive" />
android:targetClass="foundation.e.accountmanager.ui.AccountsActivity"
android:targetPackage="foundation.e.accountmanager" />
</PreferenceScreen>
</PreferenceScreen>
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2013 – 2015 Ricki Hirner (bitfire web engineering).
~ All rights reserved. This program and the accompanying materials
~ are made available under the terms of the GNU Public License v3.0
~ which accompanies this distribution, and is available at
~ http://www.gnu.org/licenses/gpl.html
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto">
<PreferenceScreen
android:iconSpaceReserved="true"
android:summary="@string/advanced_account_summary"
android:title="@string/advanced_account_title"
android:order="300"
settings:allowDividerBelow="false">
<intent
android:action="ACTION_VIEW"
android:targetClass="foundation.e.drive.activity.AccountsActivity"
android:targetPackage="foundation.e.drive" />
</PreferenceScreen>
</PreferenceScreen>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment