diff options
author | Fang Yunong <yunong@codeaurora.org> | 2016-08-26 14:10:32 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-30 05:56:36 -0700 |
commit | dffda326bdb251bb47abc3a12963c3c4f02d95ab (patch) | |
tree | d15638f26679e901697137dc972e299a87eb0060 /res | |
parent | 04a1800400eccf29346c9c77d1d99c137957903f (diff) | |
download | android_packages_apps_Email-dffda326bdb251bb47abc3a12963c3c4f02d95ab.tar.gz android_packages_apps_Email-dffda326bdb251bb47abc3a12963c3c4f02d95ab.tar.bz2 android_packages_apps_Email-dffda326bdb251bb47abc3a12963c3c4f02d95ab.zip |
Add account
Add account for data pack
Change-Id: I33fcc7a2d0a8af19e7d6b83416931ae5ea5f2e92
CRs-fixed: 1043367
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 20 | ||||
-rw-r--r-- | res/xml/authenticator_alice.xml | 40 | ||||
-rw-r--r-- | res/xml/authenticator_aol.xml | 40 | ||||
-rw-r--r-- | res/xml/authenticator_free.xml | 40 | ||||
-rw-r--r-- | res/xml/authenticator_gmail.xml | 40 | ||||
-rw-r--r-- | res/xml/authenticator_laposte.xml | 40 | ||||
-rw-r--r-- | res/xml/authenticator_noos.xml | 40 | ||||
-rw-r--r-- | res/xml/authenticator_orange.xml | 40 | ||||
-rw-r--r-- | res/xml/authenticator_outlook.xml | 40 | ||||
-rw-r--r-- | res/xml/authenticator_sfr.xml | 40 | ||||
-rw-r--r-- | res/xml/authenticator_yahoo.xml | 40 |
11 files changed, 420 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index eea9a32a4..077776a40 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -705,4 +705,24 @@ <string name="default_email_signature"></string> <string name="default_email_signature_with_brand"></string> <string name="missing_required_permission">You have disabled a required permission.</string> + <string name="account_manager_type_alice" translatable="false">com.android.alice</string> + <string name="alice_eas_name" translatable="false">Alice</string> + <string name="account_manager_type_yahoo" translatable="false">com.android.yahoo</string> + <string name="yahoo_eas_name" translatable="false">Yahoo</string> + <string name="account_manager_type_outlook" translatable="false">com.android.outlook</string> + <string name="outlook_eas_name" translatable="false">Outlook</string> + <string name="account_manager_type_gmail" translatable="false">com.android.gmail</string> + <string name="gmail_eas_name" translatable="false">Gmail</string> + <string name="account_manager_type_aol" translatable="false">com.android.aol</string> + <string name="aol_eas_name" translatable="false">Aol</string> + <string name="account_manager_type_free" translatable="false">com.android.free</string> + <string name="free_eas_name" translatable="false">Free</string> + <string name="account_manager_type_laposte" translatable="false">com.android.laposte</string> + <string name="laposte_eas_name" translatable="false">Laposte</string> + <string name="account_manager_type_sfr" translatable="false">com.android.sfr</string> + <string name="sfr_eas_name" translatable="false">Sfr</string> + <string name="account_manager_type_orange" translatable="false">com.android.orange</string> + <string name="orange_eas_name" translatable="false">Orange</string> + <string name="account_manager_type_noos" translatable="false">com.android.noos</string> + <string name="noos_eas_name" translatable="false">Noos</string> </resources> diff --git a/res/xml/authenticator_alice.xml b/res/xml/authenticator_alice.xml new file mode 100644 index 000000000..4a734d784 --- /dev/null +++ b/res/xml/authenticator_alice.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2016, The Linux Foundation. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> + +<!-- The attributes in this XML file provide configuration information --> +<!-- for the Account Manager. --> + +<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" + android:accountType="@string/account_manager_type_alice" + android:icon="@mipmap/ic_launcher_mail" + android:smallIcon="@drawable/ic_notification_mail_24dp" + android:label="@string/alice_eas_name" + android:accountPreferences="@xml/account_preferences" +/> diff --git a/res/xml/authenticator_aol.xml b/res/xml/authenticator_aol.xml new file mode 100644 index 000000000..16ed49654 --- /dev/null +++ b/res/xml/authenticator_aol.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2016, The Linux Foundation. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> + +<!-- The attributes in this XML file provide configuration information --> +<!-- for the Account Manager. --> + +<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" + android:accountType="@string/account_manager_type_aol" + android:icon="@mipmap/ic_launcher_mail" + android:smallIcon="@drawable/ic_notification_mail_24dp" + android:label="@string/aol_eas_name" + android:accountPreferences="@xml/account_preferences" +/> diff --git a/res/xml/authenticator_free.xml b/res/xml/authenticator_free.xml new file mode 100644 index 000000000..d67913959 --- /dev/null +++ b/res/xml/authenticator_free.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2016, The Linux Foundation. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> + +<!-- The attributes in this XML file provide configuration information --> +<!-- for the Account Manager. --> + +<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" + android:accountType="@string/account_manager_type_free" + android:icon="@mipmap/ic_launcher_mail" + android:smallIcon="@drawable/ic_notification_mail_24dp" + android:label="@string/free_eas_name" + android:accountPreferences="@xml/account_preferences" +/> diff --git a/res/xml/authenticator_gmail.xml b/res/xml/authenticator_gmail.xml new file mode 100644 index 000000000..accf4fbad --- /dev/null +++ b/res/xml/authenticator_gmail.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2016, The Linux Foundation. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> + +<!-- The attributes in this XML file provide configuration information --> +<!-- for the Account Manager. --> + +<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" + android:accountType="@string/account_manager_type_gmail" + android:icon="@mipmap/ic_launcher_mail" + android:smallIcon="@drawable/ic_notification_mail_24dp" + android:label="@string/gmail_eas_name" + android:accountPreferences="@xml/account_preferences" +/> diff --git a/res/xml/authenticator_laposte.xml b/res/xml/authenticator_laposte.xml new file mode 100644 index 000000000..75a2e72b2 --- /dev/null +++ b/res/xml/authenticator_laposte.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2016, The Linux Foundation. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> + +<!-- The attributes in this XML file provide configuration information --> +<!-- for the Account Manager. --> + +<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" + android:accountType="@string/account_manager_type_laposte" + android:icon="@mipmap/ic_launcher_mail" + android:smallIcon="@drawable/ic_notification_mail_24dp" + android:label="@string/laposte_eas_name" + android:accountPreferences="@xml/account_preferences" +/> diff --git a/res/xml/authenticator_noos.xml b/res/xml/authenticator_noos.xml new file mode 100644 index 000000000..aa59ac35b --- /dev/null +++ b/res/xml/authenticator_noos.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2016, The Linux Foundation. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> + +<!-- The attributes in this XML file provide configuration information --> +<!-- for the Account Manager. --> + +<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" + android:accountType="@string/account_manager_type_noos" + android:icon="@mipmap/ic_launcher_mail" + android:smallIcon="@drawable/ic_notification_mail_24dp" + android:label="@string/noos_eas_name" + android:accountPreferences="@xml/account_preferences" +/> diff --git a/res/xml/authenticator_orange.xml b/res/xml/authenticator_orange.xml new file mode 100644 index 000000000..64a7c1842 --- /dev/null +++ b/res/xml/authenticator_orange.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2016, The Linux Foundation. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> + +<!-- The attributes in this XML file provide configuration information --> +<!-- for the Account Manager. --> + +<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" + android:accountType="@string/account_manager_type_orange" + android:icon="@mipmap/ic_launcher_mail" + android:smallIcon="@drawable/ic_notification_mail_24dp" + android:label="@string/orange_eas_name" + android:accountPreferences="@xml/account_preferences" +/> diff --git a/res/xml/authenticator_outlook.xml b/res/xml/authenticator_outlook.xml new file mode 100644 index 000000000..474a3adf2 --- /dev/null +++ b/res/xml/authenticator_outlook.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2016, The Linux Foundation. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> + +<!-- The attributes in this XML file provide configuration information --> +<!-- for the Account Manager. --> + +<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" + android:accountType="@string/account_manager_type_outlook" + android:icon="@mipmap/ic_launcher_mail" + android:smallIcon="@drawable/ic_notification_mail_24dp" + android:label="@string/outlook_eas_name" + android:accountPreferences="@xml/account_preferences" +/> diff --git a/res/xml/authenticator_sfr.xml b/res/xml/authenticator_sfr.xml new file mode 100644 index 000000000..341ec9418 --- /dev/null +++ b/res/xml/authenticator_sfr.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2016, The Linux Foundation. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> + +<!-- The attributes in this XML file provide configuration information --> +<!-- for the Account Manager. --> + +<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" + android:accountType="@string/account_manager_type_sfr" + android:icon="@mipmap/ic_launcher_mail" + android:smallIcon="@drawable/ic_notification_mail_24dp" + android:label="@string/sfr_eas_name" + android:accountPreferences="@xml/account_preferences" +/> diff --git a/res/xml/authenticator_yahoo.xml b/res/xml/authenticator_yahoo.xml new file mode 100644 index 000000000..fb2a9f95d --- /dev/null +++ b/res/xml/authenticator_yahoo.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2016, The Linux Foundation. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> + +<!-- The attributes in this XML file provide configuration information --> +<!-- for the Account Manager. --> + +<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" + android:accountType="@string/account_manager_type_yahoo" + android:icon="@mipmap/ic_launcher_mail" + android:smallIcon="@drawable/ic_notification_mail_24dp" + android:label="@string/yahoo_eas_name" + android:accountPreferences="@xml/account_preferences" +/> |