├── .classpath ├── .project ├── Android.mk ├── AndroidManifest.xml ├── CleanSpec.mk ├── MODULE_LICENSE_APACHE2 ├── NOTICE ├── assets ├── loading.gif ├── loading.html └── test.html ├── emailcommon ├── Android.mk ├── AndroidManifest.xml ├── res │ └── values │ │ └── strings.xml └── src │ └── com │ └── android │ └── emailcommon │ ├── Api.java │ ├── Configuration.java │ ├── Device.java │ ├── Logging.java │ ├── TrafficFlags.java │ ├── VendorPolicyLoader.java │ ├── internet │ └── Rfc822Output.java │ ├── provider │ ├── Account.aidl │ ├── Account.java │ ├── Credential.java │ ├── EmailContent.java │ ├── HostAuth.aidl │ ├── HostAuth.java │ ├── Mailbox.java │ ├── MailboxUtilities.java │ ├── MessageChangeLogTable.java │ ├── MessageMove.java │ ├── MessageStateChange.java │ ├── Policy.aidl │ ├── Policy.java │ ├── ProviderUnavailableException.java │ ├── QuickResponse.java │ └── SuggestedContact.java │ ├── service │ ├── AccountServiceProxy.java │ ├── EmailServiceConstants.java │ ├── EmailServiceProxy.java │ ├── EmailServiceStatus.java │ ├── EmailServiceVersion.java │ ├── HostAuthCompat.aidl │ ├── HostAuthCompat.java │ ├── IAccountService.aidl │ ├── IEmailService.aidl │ ├── IEmailServiceCallback.aidl │ ├── IPolicyService.aidl │ ├── LegacyPolicySet.java │ ├── PolicyServiceProxy.java │ ├── SearchParams.aidl │ ├── ServiceProxy.java │ ├── ServiceUnavailableException.java │ ├── SyncSize.java │ └── SyncWindow.java │ └── utility │ ├── AttachmentUtilities.java │ ├── CertificateRequestor.java │ ├── CountingOutputStream.java │ ├── DelayedOperations.java │ ├── EOLConvertingOutputStream.java │ ├── EmailAsyncTask.java │ ├── EmailClientConnectionManager.java │ ├── IntentUtilities.java │ ├── LoggingInputStream.java │ ├── SSLSocketFactory.java │ ├── SSLSocketFactoryWrapper.java │ ├── SSLUtils.java │ └── Utility.java ├── proguard-test.flags ├── proguard.flags ├── provider_src └── com │ └── android │ └── email │ ├── AttachmentInfo.java │ ├── DebugUtils.java │ ├── EmailConnectivityManager.java │ ├── EmailIntentService.java │ ├── FixedLengthInputStream.java │ ├── LegacyConversions.java │ ├── NotificationController.java │ ├── NotificationControllerCreator.java │ ├── NotificationControllerCreatorHolder.java │ ├── PeekableInputStream.java │ ├── Preferences.java │ ├── ResourceHelper.java │ ├── SecurityPolicy.java │ ├── activity │ └── setup │ │ ├── AccountSecurity.java │ │ ├── AccountSettingsUtils.java │ │ └── ForwardingIntent.java │ ├── mail │ ├── Sender.java │ ├── Store.java │ ├── internet │ │ ├── AuthenticationCache.java │ │ └── OAuthAuthenticator.java │ ├── store │ │ ├── ImapConnection.java │ │ ├── ImapFolder.java │ │ ├── ImapStore.java │ │ ├── Pop3Store.java │ │ ├── ServiceStore.java │ │ └── imap │ │ │ ├── ImapConstants.java │ │ │ ├── ImapElement.java │ │ │ ├── ImapList.java │ │ │ ├── ImapMemoryLiteral.java │ │ │ ├── ImapResponse.java │ │ │ ├── ImapResponseParser.java │ │ │ ├── ImapSimpleString.java │ │ │ ├── ImapString.java │ │ │ ├── ImapTempFileLiteral.java │ │ │ └── ImapUtility.java │ └── transport │ │ ├── DiscourseLogger.java │ │ └── MailTransport.java │ ├── provider │ ├── AccountBackupRestore.java │ ├── AccountReconciler.java │ ├── AttachmentProvider.java │ ├── ContentCache.java │ ├── DBHelper.java │ ├── EmailConversationCursor.java │ ├── EmailMessageCursor.java │ ├── EmailProvider.java │ ├── FolderPickerActivity.java │ ├── FolderPickerCallback.java │ ├── FolderPickerDialog.java │ ├── FolderPickerSelectorAdapter.java │ ├── RefreshStatusMonitor.java │ ├── Utilities.java │ └── WidgetProvider.java │ ├── service │ ├── AccountService.java │ ├── AliceAuthenticatorService.java │ ├── AolAuthenticatorService.java │ ├── AttachmentService.java │ ├── AuthenticatorService.java │ ├── BelgacomAuthenticatorService.java │ ├── BluetoothEmailBroadcastReceiver.java │ ├── BluetoothImapService.java │ ├── BluetoothPop3Service.java │ ├── BruteleAuthenticatorService.java │ ├── ClixAuthenticatorService.java │ ├── CorreoOrangeAuthenticatorService.java │ ├── EasAuthenticatorService.java │ ├── EasAuthenticatorServiceAlternate.java │ ├── EasTestAuthenticatorService.java │ ├── EmailBroadcastProcessorService.java │ ├── EmailBroadcastReceiver.java │ ├── EmailServiceStub.java │ ├── EmailServiceUtils.java │ ├── EmailUpgradeBroadcastReceiver.java │ ├── EuphonyAuthenticatorService.java │ ├── FreeAuthenticatorService.java │ ├── GmailAuthenticatorService.java │ ├── HotmailAuthenticatorService.java │ ├── ImapAuthenticatorService.java │ ├── ImapService.java │ ├── ImapTempFileLiteral.java │ ├── LaposteAuthenticatorService.java │ ├── LegacyEasAuthenticatorService.java │ ├── LegacyEmailAuthenticatorService.java │ ├── LegacyImapAuthenticatorService.java │ ├── LegacyImapSyncAdapterService.java │ ├── MobistarAuthenticatorService.java │ ├── MultiBoxAuthenticatorService.java │ ├── NetcaboAuthenticatorService.java │ ├── NoosAuthenticatorService.java │ ├── OrangeAuthenticatorService.java │ ├── OrangeMailAuthenticatorService.java │ ├── OrangeMobileAuthenticatorService.java │ ├── OutLookAuthenticatorService.java │ ├── PolicyService.java │ ├── Pop3AuthenticatorService.java │ ├── Pop3Service.java │ ├── Pop3SyncAdapterService.java │ ├── PopImapSyncAdapterService.java │ ├── SapoAuthenticatorService.java │ ├── ScarletAuthenticatorService.java │ ├── SfrAuthenticatorService.java │ ├── SkynetAuthenticatorService.java │ ├── SwingAuthenticatorService.java │ ├── TVCableNetAuthenticatorService.java │ ├── Tele2AuthenticatorService.java │ ├── TeledisnetAuthenticatorService.java │ ├── TelenetAuthenticatorService.java │ ├── TiscaliAuthenticatorService.java │ ├── VersatelADSLAuthenticatorService.java │ ├── VersatelAuthenticatorService.java │ ├── VodafoneAuthenticatorService.java │ ├── VooAuthenticatorService.java │ ├── WanadooAuthenticatorService.java │ └── YahooAuthenticatorService.java │ └── setup │ └── AuthenticatorSetupIntentHelper.java ├── res ├── color │ └── buttontext.xml ├── drawable-hdpi │ ├── ic_add_24dp.png │ ├── ic_exchange_minitab_selected.png │ ├── ic_exchange_selected.png │ └── ic_setup_delete.png ├── drawable-mdpi │ ├── ic_add_24dp.png │ ├── ic_exchange_minitab_selected.png │ ├── ic_exchange_selected.png │ └── ic_setup_delete.png ├── drawable-nodpi │ └── mail_widget_preview.png ├── drawable-v21 │ └── ic_add_24dp.xml ├── drawable-xhdpi │ ├── ic_add_24dp.png │ ├── ic_exchange_minitab_selected.png │ ├── ic_exchange_selected.png │ └── ic_setup_delete.png ├── drawable-xxhdpi │ ├── ic_add_24dp.png │ └── ic_setup_delete.png ├── drawable │ └── account_setup_background.xml ├── layout-w600dp │ ├── account_setup_basics_fragment.xml │ ├── account_setup_incoming_fragment.xml │ ├── account_setup_options_fragment.xml │ ├── account_setup_outgoing_fragment.xml │ └── authentication_view.xml ├── layout-w800dp │ └── account_setup_activity.xml ├── layout │ ├── account_credentials.xml │ ├── account_credentials_fragment.xml │ ├── account_server_settings.xml │ ├── account_settings_buttons.xml │ ├── account_settings_edit_quick_responses_fragment.xml │ ├── account_settings_incoming_fragment.xml │ ├── account_settings_outgoing_fragment.xml │ ├── account_setup_ab_fragment.xml │ ├── account_setup_activity.xml │ ├── account_setup_basics_fragment.xml │ ├── account_setup_credentials_fragment.xml │ ├── account_setup_incoming_fragment.xml │ ├── account_setup_names_fragment.xml │ ├── account_setup_options_fragment.xml │ ├── account_setup_outgoing_fragment.xml │ ├── account_setup_template.xml │ ├── account_setup_type_fragment.xml │ ├── account_type.xml │ ├── authentication_view.xml │ ├── client_certificate_selector.xml │ ├── debug.xml │ ├── preference_mailbox_item.xml │ ├── quick_response_edit_dialog.xml │ ├── quick_response_item.xml │ └── quick_responses.xml ├── menu │ ├── email_compose_menu_extras.xml │ └── quick_response_prefs_fragment_menu.xml ├── mipmap-hdpi │ ├── ic_alice_email.png │ └── ic_launcher_email.png ├── mipmap-mdpi │ ├── ic_alice_email.png │ └── ic_launcher_email.png ├── mipmap-xhdpi │ ├── ic_alice_email.png │ └── ic_launcher_email.png ├── mipmap-xxhdpi │ ├── ic_alice_email.png │ └── ic_launcher_email.png ├── mipmap-xxxhdpi │ ├── ic_alice_email.png │ └── ic_launcher_email.png ├── values-af │ ├── cm_strings.xml │ └── strings.xml ├── values-am │ ├── cm_strings.xml │ └── strings.xml ├── values-ar │ ├── cm_strings.xml │ └── strings.xml ├── values-as-rIN │ ├── cm_strings.xml │ └── strings.xml ├── values-ast-rES │ ├── cm_strings.xml │ └── strings.xml ├── values-az-rAZ │ ├── cm_strings.xml │ └── strings.xml ├── values-be-rBY │ └── cm_strings.xml ├── values-be │ ├── cm_strings.xml │ └── strings.xml ├── values-bg │ ├── cm_strings.xml │ └── strings.xml ├── values-bn-rBD │ ├── cm_strings.xml │ └── strings.xml ├── values-br-rFR │ ├── cm_strings.xml │ └── strings.xml ├── values-bs-rBA │ └── cm_strings.xml ├── values-ca │ ├── cm_strings.xml │ └── strings.xml ├── values-cs │ ├── cm_strings.xml │ └── strings.xml ├── values-csb-rPL │ ├── cm_strings.xml │ └── strings.xml ├── values-cy │ ├── cm_strings.xml │ └── strings.xml ├── values-da │ ├── cm_strings.xml │ └── strings.xml ├── values-de │ ├── cm_strings.xml │ └── strings.xml ├── values-el │ ├── cm_strings.xml │ └── strings.xml ├── values-en-rAU │ ├── cm_strings.xml │ └── strings.xml ├── values-en-rGB │ ├── cm_strings.xml │ └── strings.xml ├── values-en-rIN │ ├── cm_strings.xml │ └── strings.xml ├── values-en-rPT │ ├── cm_strings.xml │ └── strings.xml ├── values-eo │ ├── cm_strings.xml │ └── strings.xml ├── values-es-rCO │ ├── cm_strings.xml │ └── strings.xml ├── values-es-rMX │ ├── cm_strings.xml │ └── strings.xml ├── values-es-rUS │ ├── cm_strings.xml │ └── strings.xml ├── values-es │ ├── cm_strings.xml │ └── strings.xml ├── values-et-rEE │ ├── cm_strings.xml │ └── strings.xml ├── values-eu-rES │ ├── cm_strings.xml │ └── strings.xml ├── values-fa │ ├── cm_strings.xml │ └── strings.xml ├── values-fi │ ├── cm_strings.xml │ └── strings.xml ├── values-fil-rPH │ └── cm_strings.xml ├── values-fr-rCA │ ├── cm_strings.xml │ └── strings.xml ├── values-fr │ ├── cm_strings.xml │ └── strings.xml ├── values-frp-rIT │ ├── cm_strings.xml │ └── strings.xml ├── values-fy-rNL │ ├── cm_strings.xml │ └── strings.xml ├── values-ga-rIE │ ├── cm_strings.xml │ └── strings.xml ├── values-gd-rGB │ ├── cm_strings.xml │ └── strings.xml ├── values-gl-rES │ ├── cm_strings.xml │ └── strings.xml ├── values-gu-rIN │ ├── cm_strings.xml │ └── strings.xml ├── values-hi │ ├── cm_strings.xml │ └── strings.xml ├── values-hr │ ├── cm_strings.xml │ └── strings.xml ├── values-hu │ ├── cm_strings.xml │ └── strings.xml ├── values-hy-rAM │ ├── cm_strings.xml │ └── strings.xml ├── values-in │ ├── cm_strings.xml │ └── strings.xml ├── values-is-rIS │ ├── cm_strings.xml │ └── strings.xml ├── values-it │ ├── cm_strings.xml │ └── strings.xml ├── values-iw │ ├── cm_strings.xml │ └── strings.xml ├── values-ja │ ├── cm_strings.xml │ └── strings.xml ├── values-ka-rGE │ ├── cm_strings.xml │ └── strings.xml ├── values-kk-rKZ │ ├── cm_strings.xml │ └── strings.xml ├── values-km-rKH │ ├── cm_strings.xml │ └── strings.xml ├── values-kn-rIN │ ├── cm_strings.xml │ └── strings.xml ├── values-ko │ ├── cm_strings.xml │ └── strings.xml ├── values-ku │ ├── cm_strings.xml │ └── strings.xml ├── values-ky-rKG │ ├── cm_strings.xml │ └── strings.xml ├── values-lb │ ├── cm_strings.xml │ └── strings.xml ├── values-ldrtl │ └── styles-ldrtl.xml ├── values-lo-rLA │ ├── cm_strings.xml │ └── strings.xml ├── values-lt │ ├── cm_strings.xml │ └── strings.xml ├── values-lv │ ├── cm_strings.xml │ └── strings.xml ├── values-mk-rMK │ ├── cm_strings.xml │ └── strings.xml ├── values-ml-rIN │ ├── cm_strings.xml │ └── strings.xml ├── values-mn-rMN │ ├── cm_strings.xml │ └── strings.xml ├── values-mr-rIN │ ├── cm_strings.xml │ └── strings.xml ├── values-ms-rMY │ ├── cm_strings.xml │ └── strings.xml ├── values-my-rMM │ ├── cm_strings.xml │ └── strings.xml ├── values-nb │ ├── cm_strings.xml │ └── strings.xml ├── values-ne-rNP │ ├── cm_strings.xml │ └── strings.xml ├── values-nl │ ├── cm_strings.xml │ └── strings.xml ├── values-oc-rFR │ ├── cm_strings.xml │ └── strings.xml ├── values-or-rIN │ ├── cm_strings.xml │ └── strings.xml ├── values-pa-rIN │ └── cm_strings.xml ├── values-pl │ ├── cm_strings.xml │ └── strings.xml ├── values-pt-rBR │ └── cm_strings.xml ├── values-pt-rPT │ ├── cm_strings.xml │ └── strings.xml ├── values-pt │ └── strings.xml ├── values-rm │ ├── cm_strings.xml │ └── strings.xml ├── values-ro │ ├── cm_strings.xml │ └── strings.xml ├── values-ru │ ├── cm_strings.xml │ └── strings.xml ├── values-si-rLK │ ├── cm_strings.xml │ └── strings.xml ├── values-sk │ ├── cm_strings.xml │ └── strings.xml ├── values-sl │ ├── cm_strings.xml │ └── strings.xml ├── values-sq-rAL │ └── cm_strings.xml ├── values-sr │ ├── cm_strings.xml │ └── strings.xml ├── values-sv │ ├── cm_strings.xml │ └── strings.xml ├── values-sw │ ├── cm_strings.xml │ └── strings.xml ├── values-ta-rIN │ ├── cm_strings.xml │ └── strings.xml ├── values-te-rIN │ ├── cm_strings.xml │ └── strings.xml ├── values-th │ ├── cm_strings.xml │ └── strings.xml ├── values-tl │ └── strings.xml ├── values-tr │ ├── cm_strings.xml │ └── strings.xml ├── values-ug │ ├── cm_strings.xml │ └── strings.xml ├── values-uk │ ├── cm_strings.xml │ └── strings.xml ├── values-ur-rPK │ ├── cm_strings.xml │ └── strings.xml ├── values-uz-rUZ │ ├── cm_strings.xml │ └── strings.xml ├── values-v21 │ └── styles.xml ├── values-vi │ ├── cm_strings.xml │ └── strings.xml ├── values-w600dp │ └── dimensions.xml ├── values-zh-rCN │ ├── cm_strings.xml │ └── strings.xml ├── values-zh-rHK │ ├── cm_strings.xml │ └── strings.xml ├── values-zh-rTW │ ├── cm_strings.xml │ └── strings.xml ├── values-zu │ ├── cm_strings.xml │ └── strings.xml ├── values │ ├── accountprovider.xml │ ├── arrays.xml │ ├── attrs.xml │ ├── cm_dimens.xml │ ├── cm_strings.xml │ ├── colors.xml │ ├── constants.xml │ ├── dimensions.xml │ ├── strings.xml │ └── styles.xml ├── xml-sw600dp │ └── widget_info.xml └── xml │ ├── account_preferences.xml │ ├── account_settings_preferences.xml │ ├── authenticator_alice.xml │ ├── authenticator_alternate.xml │ ├── authenticator_aol.xml │ ├── authenticator_belgacom.xml │ ├── authenticator_brutele.xml │ ├── authenticator_clix.xml │ ├── authenticator_correoorange.xml │ ├── authenticator_eas.xml │ ├── authenticator_euphony.xml │ ├── authenticator_free.xml │ ├── authenticator_gmail.xml │ ├── authenticator_hotmail.xml │ ├── authenticator_imap.xml │ ├── authenticator_laposte.xml │ ├── authenticator_legacy_eas.xml │ ├── authenticator_legacy_email.xml │ ├── authenticator_legacy_imap.xml │ ├── authenticator_mobistar.xml │ ├── authenticator_multibox.xml │ ├── authenticator_netcabo.xml │ ├── authenticator_noos.xml │ ├── authenticator_orange.xml │ ├── authenticator_orangemail.xml │ ├── authenticator_orangemobile.xml │ ├── authenticator_outlook.xml │ ├── authenticator_pop3.xml │ ├── authenticator_sapo.xml │ ├── authenticator_scarlet.xml │ ├── authenticator_sfr.xml │ ├── authenticator_skynet.xml │ ├── authenticator_swing.xml │ ├── authenticator_tele2.xml │ ├── authenticator_teledisnet.xml │ ├── authenticator_telenet.xml │ ├── authenticator_tiscali.xml │ ├── authenticator_tvcablenet.xml │ ├── authenticator_versatel.xml │ ├── authenticator_versatelasdl.xml │ ├── authenticator_vodafone.xml │ ├── authenticator_voo.xml │ ├── authenticator_wanadoo.xml │ ├── authenticator_yahoo.xml │ ├── device_admin.xml │ ├── eastest_authenticator.xml │ ├── email_extra_preference_headers.xml │ ├── mailbox_notifications_preferences.xml │ ├── mailbox_preferences.xml │ ├── oauth.xml │ ├── preference_headers.xml │ ├── providers.xml │ ├── providers_product.xml │ ├── senders.xml │ ├── senders_product.xml │ ├── services.xml │ ├── syncadapter_legacy_imap.xml │ ├── syncadapter_pop3.xml │ └── widget_info.xml ├── src └── com │ ├── android │ ├── email │ │ ├── EmailAddressValidator.java │ │ ├── EmailApplication.java │ │ ├── EmailNotificationController.java │ │ ├── StopWatch.java │ │ ├── activity │ │ │ ├── ComposeActivityEmail.java │ │ │ ├── ContactStatusLoader.java │ │ │ ├── EventViewer.java │ │ │ ├── InsertQuickResponseDialog.java │ │ │ ├── RequestPermissionsActivity.java │ │ │ ├── RequestPermissionsActivityBase.java │ │ │ ├── UiUtilities.java │ │ │ └── setup │ │ │ │ ├── AccountCheckSettingsFragment.java │ │ │ │ ├── AccountCreationFragment.java │ │ │ │ ├── AccountCredentials.java │ │ │ │ ├── AccountFinalizeFragment.java │ │ │ │ ├── AccountServerBaseFragment.java │ │ │ │ ├── AccountServerSettingsActivity.java │ │ │ │ ├── AccountSettingsEditQuickResponsesFragment.java │ │ │ │ ├── AccountSettingsFragment.java │ │ │ │ ├── AccountSetupABFragment.java │ │ │ │ ├── AccountSetupActivity.java │ │ │ │ ├── AccountSetupBasicsFragment.java │ │ │ │ ├── AccountSetupCredentialsFragment.java │ │ │ │ ├── AccountSetupFinal.java │ │ │ │ ├── AccountSetupFragment.java │ │ │ │ ├── AccountSetupIncomingFragment.java │ │ │ │ ├── AccountSetupNamesFragment.java │ │ │ │ ├── AccountSetupNoteDialogFragment.java │ │ │ │ ├── AccountSetupOptionsFragment.java │ │ │ │ ├── AccountSetupOutgoingFragment.java │ │ │ │ ├── AccountSetupTypeFragment.java │ │ │ │ ├── AuthenticationView.java │ │ │ │ ├── CheckSettingsErrorDialogFragment.java │ │ │ │ ├── CheckSettingsProgressDialogFragment.java │ │ │ │ ├── DebugFragment.java │ │ │ │ ├── DuplicateAccountDialogFragment.java │ │ │ │ ├── EditQuickResponseDialog.java │ │ │ │ ├── EmailPreferenceActivity.java │ │ │ │ ├── GeneralPreferences.java │ │ │ │ ├── HeadlessAccountSettingsLoader.java │ │ │ │ ├── MailboxSettings.java │ │ │ │ ├── OAuthAuthenticationActivity.java │ │ │ │ ├── PolicyListPreference.java │ │ │ │ ├── SecurityRequiredDialogFragment.java │ │ │ │ ├── SetupDataFragment.java │ │ │ │ └── SpinnerOption.java │ │ ├── data │ │ │ └── ClosingMatrixCursor.java │ │ ├── mail │ │ │ ├── internet │ │ │ │ └── EmailHtmlUtil.java │ │ │ └── transport │ │ │ │ ├── SmtpSender.java │ │ │ │ └── StatusOutputStream.java │ │ ├── preferences │ │ │ └── EmailPreferenceMigrator.java │ │ └── view │ │ │ └── CertificateSelector.java │ ├── email2 │ │ └── ui │ │ │ ├── CreateShortcutActivityEmail.java │ │ │ ├── MailActivityEmail.java │ │ │ └── MailboxSelectionActivityEmail.java │ └── mail │ │ ├── browse │ │ └── EmailConversationProvider.java │ │ └── providers │ │ └── EmailAccountCacheProvider.java │ └── beetstra │ └── jutf7 │ ├── Base64Util.java │ ├── CharsetProvider.java │ ├── ModifiedUTF7Charset.java │ ├── UTF7Charset.java │ ├── UTF7StyleCharset.java │ ├── UTF7StyleCharsetDecoder.java │ └── UTF7StyleCharsetEncoder.java └── tests ├── Android.mk ├── AndroidManifest.xml ├── res └── xml │ └── test_providers.xml └── src └── com └── android ├── email ├── AccountTestCase.java ├── ControllerProviderOpsTests.java ├── DBTestHelper.java ├── DummyFlakyTest.java ├── LegacyConversionsTest.java ├── LegacyConversionsTests.java ├── MessagingControllerUnitTests.java ├── MockClock.java ├── MockSharedPreferences.java ├── MockVendorPolicy.java ├── ResourceHelperTest.java ├── SecurityPolicyTests.java ├── TestUtils.java ├── ThrottleTest.java ├── VendorPolicyLoaderTest.java ├── activity │ ├── IntentUtilitiesTests.java │ ├── MessageViewTests.java │ └── setup │ │ ├── AccountSettingsUtilsTests.java │ │ ├── AccountSetupIncomingTests.java │ │ ├── AccountSetupOptionsTests.java │ │ ├── AccountSetupOutgoingTests.java │ │ └── EmailPreferenceActivityTests.java ├── mail │ ├── StoreTests.java │ ├── internet │ │ └── EmailHtmlUtilTest.java │ ├── store │ │ ├── ImapStoreUnitTests.java │ │ ├── Pop3StoreUnitTests.java │ │ └── imap │ │ │ ├── ImapElementTest.java │ │ │ ├── ImapListTest.java │ │ │ ├── ImapResponseParserTest.java │ │ │ ├── ImapResponseTest.java │ │ │ ├── ImapStringTest.java │ │ │ ├── ImapTestUtils.java │ │ │ └── ImapUtilityTests.java │ └── transport │ │ ├── DiscourseLoggerTest.java │ │ ├── MockTransport.java │ │ └── SmtpSenderUnitTests.java ├── provider │ ├── AccountBackupRestoreTests.java │ ├── AttachmentProviderTests.java │ ├── ContentCacheTests.java │ ├── PolicyTests.java │ ├── ProviderTestUtils.java │ └── ProviderTests.java └── service │ ├── AttachmentServiceTests.java │ └── EmailBroadcastProcessorServiceTests.java └── emailcommon ├── DeviceTests.java ├── internet ├── MimeBodyPartTest.java ├── MimeHeaderUnitTests.java ├── MimeMessageTest.java ├── MimeUtilityTest.java └── Rfc822OutputTests.java ├── mail ├── FlagTests.java ├── MessageTestUtils.java ├── MockFolder.java └── PackedStringTests.java ├── provider ├── AccountTest.java ├── HostAuthTests.java ├── MailboxTests.java └── QuickResponseTests.java ├── service └── SearchParamsTests.java └── utility ├── AttachmentUtilitiesTests.java ├── DelayedOperationsTests.java ├── EmailAsyncTaskTests.java ├── SSLUtilsTest.java ├── TextUtilitiesTests.java └── UtilityTest.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | AndroidMail 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /MODULE_LICENSE_APACHE2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/MODULE_LICENSE_APACHE2 -------------------------------------------------------------------------------- /assets/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/assets/loading.gif -------------------------------------------------------------------------------- /assets/loading.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 14 | 15 |
6 | Loading... 7 |
8 |
9 |
10 |
11 |
12 | 13 |
16 | 17 | -------------------------------------------------------------------------------- /emailcommon/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/Api.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.emailcommon; 18 | 19 | /** 20 | * This class will be used for API-related definitions; for now, just the api "level" 21 | * 22 | * Level 1: As shipped in HC/MR1 23 | * Level 2: Adds searchMessages to EmailService 24 | * Level 3: Adds capabilities query 25 | * 26 | */ 27 | public class Api { 28 | public static final int LEVEL = 3; 29 | } 30 | -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/Configuration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.emailcommon; 18 | 19 | public class Configuration { 20 | // Bundle key for Exchange configuration (boolean value) 21 | public static final String EXCHANGE_CONFIGURATION_USE_ALTERNATE_STRINGS = 22 | "com.android.email.EXCHANGE_CONFIGURATION_USE_ALTERNATE_STRINGS"; 23 | } 24 | -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/Logging.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.emailcommon; 18 | 19 | import com.android.mail.utils.LogTag; 20 | 21 | public class Logging { 22 | public static final String LOG_TAG = LogTag.getLogTag(); 23 | 24 | /** 25 | * Set this to 'true' to enable as much Email logging as possible. 26 | */ 27 | public static final boolean LOGD; 28 | 29 | /** 30 | * If this is enabled then logging that normally hides sensitive information 31 | * like passwords will show that information. 32 | */ 33 | public static final boolean DEBUG_SENSITIVE; 34 | 35 | /** 36 | * If true, logging regarding UI (such as activity/fragment lifecycle) will be enabled. 37 | * 38 | * TODO rename it to DEBUG_UI. 39 | */ 40 | public static final boolean DEBUG_LIFECYCLE; 41 | 42 | static { 43 | // Declare values here to avoid dead code warnings; it means we have some extra 44 | // "if" statements in the byte code that always evaluate to "if (false)" 45 | LOGD = false; // DO NOT CHECK IN WITH TRUE 46 | DEBUG_SENSITIVE = false; // DO NOT CHECK IN WITH TRUE 47 | DEBUG_LIFECYCLE = false; // DO NOT CHECK IN WITH TRUE 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/provider/Account.aidl: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2012 The Android Open Source Project 2 | * 3 | * Licensed under the Apache License, Version 2.0 (the "License"); 4 | * you may not use this file except in compliance with the License. 5 | * You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software 10 | * distributed under the License is distributed on an "AS IS" BASIS, 11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | * See the License for the specific language governing permissions and 13 | * limitations under the License. 14 | */ 15 | 16 | package com.android.emailcommon.provider; 17 | 18 | parcelable Account; -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/provider/HostAuth.aidl: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2011 The Android Open Source Project 2 | * 3 | * Licensed under the Apache License, Version 2.0 (the "License"); 4 | * you may not use this file except in compliance with the License. 5 | * You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software 10 | * distributed under the License is distributed on an "AS IS" BASIS, 11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | * See the License for the specific language governing permissions and 13 | * limitations under the License. 14 | */ 15 | 16 | package com.android.emailcommon.provider; 17 | 18 | parcelable HostAuth; -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/provider/Policy.aidl: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2011 The Android Open Source Project 2 | * 3 | * Licensed under the Apache License, Version 2.0 (the "License"); 4 | * you may not use this file except in compliance with the License. 5 | * You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software 10 | * distributed under the License is distributed on an "AS IS" BASIS, 11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | * See the License for the specific language governing permissions and 13 | * limitations under the License. 14 | */ 15 | 16 | package com.android.emailcommon.provider; 17 | 18 | parcelable Policy; 19 | 20 | -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/provider/ProviderUnavailableException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.emailcommon.provider; 18 | 19 | public class ProviderUnavailableException extends RuntimeException { 20 | private static final long serialVersionUID = 1L; 21 | } -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/provider/QuickResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | package com.android.emailcommon.provider; 19 | 20 | import android.net.Uri; 21 | 22 | import com.android.emailcommon.provider.EmailContent.QuickResponseColumns; 23 | 24 | /** 25 | * A user-modifiable message that may be quickly inserted into the body while user is composing 26 | * a message. Tied to a specific account. 27 | */ 28 | public abstract class QuickResponse extends EmailContent 29 | implements QuickResponseColumns { 30 | public static final String TABLE_NAME = "QuickResponse"; 31 | public static Uri CONTENT_URI; 32 | public static Uri ACCOUNT_ID_URI; 33 | 34 | public static void initQuickResponse() { 35 | CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/quickresponse"); 36 | ACCOUNT_ID_URI = Uri.parse(EmailContent.CONTENT_URI + "/quickresponse/account"); 37 | } 38 | } -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/service/EmailServiceConstants.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.emailcommon.service; 18 | 19 | public class EmailServiceConstants { 20 | /** "Not responded yet", used ONLY for UI. */ 21 | public static final int MEETING_REQUEST_NOT_RESPONDED = 0; 22 | public static final int MEETING_REQUEST_ACCEPTED = 1; 23 | public static final int MEETING_REQUEST_TENTATIVE = 2; 24 | public static final int MEETING_REQUEST_DECLINED = 3; 25 | } 26 | -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/service/EmailServiceVersion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.android.emailcommon.service; 17 | 18 | public class EmailServiceVersion { 19 | // Initial version 20 | public static final int L_PLATFORM = 1; 21 | 22 | public static final int CURRENT = L_PLATFORM; 23 | 24 | // For each following version, add a comment explaining what apis where added or removed. 25 | } 26 | -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/service/HostAuthCompat.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.android.emailcommon.service; 17 | 18 | parcelable HostAuthCompat; 19 | -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/service/IAccountService.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.emailcommon.service; 18 | 19 | import android.os.Bundle; 20 | 21 | interface IAccountService { 22 | int getAccountColor(long accountId); 23 | 24 | Bundle getConfigurationData(String accountType); 25 | 26 | String getDeviceId(); 27 | } -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/service/IPolicyService.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.android.emailcommon.service; 17 | 18 | import com.android.emailcommon.provider.Policy; 19 | 20 | interface IPolicyService { 21 | boolean isActive(in Policy policies); 22 | void setAccountHoldFlag(long accountId, boolean newState); 23 | // Legacy compatability for Exchange shipped with KK 24 | void setAccountPolicy(long accountId, in Policy policy, String securityKey); 25 | // New version 26 | void setAccountPolicy2(long accountId, in Policy policy, String securityKey, boolean notify); 27 | oneway void remoteWipe(); 28 | boolean canDisableCamera(); 29 | } -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/service/SearchParams.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.android.emailcommon.service; 17 | 18 | parcelable SearchParams; -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/service/ServiceUnavailableException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.emailcommon.service; 18 | 19 | /** 20 | * An Exception thrown when a service proxy requires a result and there's a remote exception; this 21 | * prevents the caller from receiving an invalid result. 22 | */ 23 | public class ServiceUnavailableException extends RuntimeException { 24 | private static final long serialVersionUID = 1L; 25 | 26 | public ServiceUnavailableException(String string) { 27 | super(string); 28 | } 29 | } -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/service/SyncWindow.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.emailcommon.service; 18 | 19 | public class SyncWindow { 20 | public static final int SYNC_WINDOW_USER = -1; 21 | public static final int SYNC_WINDOW_ACCOUNT = 0; 22 | public static final int SYNC_WINDOW_1_DAY = 1; 23 | public static final int SYNC_WINDOW_3_DAYS = 2; 24 | public static final int SYNC_WINDOW_1_WEEK = 3; 25 | public static final int SYNC_WINDOW_2_WEEKS = 4; 26 | public static final int SYNC_WINDOW_1_MONTH = 5; 27 | public static final int SYNC_WINDOW_ALL = 6; 28 | 29 | public static int toDays(int window) { 30 | switch(window) { 31 | case SYNC_WINDOW_1_DAY: 32 | return 1; 33 | case SYNC_WINDOW_3_DAYS: 34 | return 3; 35 | case SYNC_WINDOW_1_WEEK: 36 | return 7; 37 | case SYNC_WINDOW_2_WEEKS: 38 | return 14; 39 | case SYNC_WINDOW_1_MONTH: 40 | return 30; 41 | case SYNC_WINDOW_ALL: 42 | return 365*10; 43 | case SYNC_WINDOW_ACCOUNT: 44 | default: 45 | return 7; 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/utility/CountingOutputStream.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.emailcommon.utility; 18 | 19 | import java.io.IOException; 20 | import java.io.OutputStream; 21 | 22 | /** 23 | * A simple pass-thru OutputStream that also counts how many bytes are written to it and 24 | * makes that count available to callers. 25 | */ 26 | public class CountingOutputStream extends OutputStream { 27 | private long mCount; 28 | private final OutputStream mOutputStream; 29 | 30 | public CountingOutputStream(OutputStream outputStream) { 31 | mOutputStream = outputStream; 32 | } 33 | 34 | public long getCount() { 35 | return mCount; 36 | } 37 | 38 | @Override 39 | public void write(byte[] buffer, int offset, int count) throws IOException { 40 | mOutputStream.write(buffer, offset, count); 41 | mCount += count; 42 | } 43 | 44 | @Override 45 | public void write(int oneByte) throws IOException { 46 | mOutputStream.write(oneByte); 47 | mCount++; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /emailcommon/src/com/android/emailcommon/utility/EOLConvertingOutputStream.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.emailcommon.utility; 18 | 19 | import java.io.FilterOutputStream; 20 | import java.io.IOException; 21 | import java.io.OutputStream; 22 | 23 | public class EOLConvertingOutputStream extends FilterOutputStream { 24 | int lastChar; 25 | 26 | public EOLConvertingOutputStream(OutputStream out) { 27 | super(out); 28 | } 29 | 30 | @Override 31 | public void write(int oneByte) throws IOException { 32 | if (oneByte == '\n') { 33 | if (lastChar != '\r') { 34 | super.write('\r'); 35 | } 36 | } 37 | super.write(oneByte); 38 | lastChar = oneByte; 39 | } 40 | 41 | @Override 42 | public void flush() throws IOException { 43 | if (lastChar == '\r') { 44 | super.write('\n'); 45 | lastChar = '\n'; 46 | } 47 | super.flush(); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /proguard.flags: -------------------------------------------------------------------------------- 1 | #Email-specific proguard flags that are not covered by UnifiedEmail go here 2 | 3 | -keepclasseswithmembers class * { 4 | public *** newInstance(com.android.emailcommon.provider.Account, android.content.Context); 5 | } 6 | 7 | -keep class com.android.email.activity.setup.AccountSetupFinal 8 | -keep class com.android.email.activity.setup.AccountSettingsFragment -------------------------------------------------------------------------------- /provider_src/com/android/email/EmailIntentService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2013 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.android.email; 17 | 18 | import android.content.Intent; 19 | 20 | import com.android.mail.MailIntentService; 21 | import com.android.mail.providers.UIProvider; 22 | import com.android.mail.utils.LogTag; 23 | import com.android.mail.utils.LogUtils; 24 | 25 | /** 26 | * A service to handle various intents asynchronously. 27 | */ 28 | public class EmailIntentService extends MailIntentService { 29 | private static final String LOG_TAG = LogTag.getLogTag(); 30 | 31 | public EmailIntentService() { 32 | super("EmailIntentService"); 33 | } 34 | 35 | @Override 36 | protected void onHandleIntent(final Intent intent) { 37 | super.onHandleIntent(intent); 38 | 39 | if (UIProvider.ACTION_UPDATE_NOTIFICATION.equals(intent.getAction())) { 40 | final NotificationController nc = 41 | NotificationControllerCreatorHolder.getInstance(this); 42 | if (nc != null) { 43 | nc.handleUpdateNotificationIntent(this, intent); 44 | } 45 | } 46 | 47 | LogUtils.v(LOG_TAG, "Handling intent %s", intent); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /provider_src/com/android/email/NotificationController.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email; 18 | 19 | import android.content.Context; 20 | import android.content.Intent; 21 | import com.android.emailcommon.provider.Account; 22 | import com.android.emailcommon.provider.EmailContent.Attachment; 23 | 24 | 25 | public interface NotificationController { 26 | void watchForMessages(); 27 | void showDownloadForwardFailedNotificationSynchronous(Attachment attachment); 28 | void showLoginFailedNotificationSynchronous(long accountId, boolean incoming); 29 | void cancelLoginFailedNotification(long accountId); 30 | void cancelNotifications(final Context context, final Account account); 31 | void handleUpdateNotificationIntent(Context context, Intent intent); 32 | void showSecurityNeededNotification(Account account); 33 | void showSecurityUnsupportedNotification(Account account); 34 | void showSecurityChangedNotification(Account account); 35 | void cancelSecurityNeededNotification(); 36 | void showPasswordExpiringNotificationSynchronous(long accountId); 37 | void showPasswordExpiredNotificationSynchronous(long accountId); 38 | void cancelPasswordExpirationNotifications(); 39 | } 40 | -------------------------------------------------------------------------------- /provider_src/com/android/email/NotificationControllerCreator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email; 18 | 19 | import android.content.Context; 20 | 21 | public interface NotificationControllerCreator { 22 | NotificationController getInstance(Context context); 23 | } 24 | -------------------------------------------------------------------------------- /provider_src/com/android/email/NotificationControllerCreatorHolder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email; 18 | 19 | import android.content.Context; 20 | 21 | public class NotificationControllerCreatorHolder { 22 | private static NotificationControllerCreator sCreator = 23 | new NotificationControllerCreator() { 24 | @Override 25 | public NotificationController getInstance(Context context){ 26 | return null; 27 | } 28 | }; 29 | 30 | public static void setNotificationControllerCreator( 31 | NotificationControllerCreator creator) { 32 | sCreator = creator; 33 | } 34 | 35 | public static NotificationControllerCreator getNotificationControllerCreator() { 36 | return sCreator; 37 | } 38 | 39 | public static NotificationController getInstance(Context context) { 40 | return getNotificationControllerCreator().getInstance(context); 41 | } 42 | } -------------------------------------------------------------------------------- /provider_src/com/android/email/activity/setup/ForwardingIntent.java: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2012 Google Inc. 2 | * Licensed to The Android Open Source Project. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.android.email.activity.setup; 18 | 19 | import android.content.Context; 20 | import android.content.Intent; 21 | 22 | /** 23 | * An intent that forwards results 24 | */ 25 | public class ForwardingIntent extends Intent { 26 | public ForwardingIntent(Context activity, Class klass) { 27 | super(activity, klass); 28 | setFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /provider_src/com/android/email/mail/store/imap/ImapSimpleString.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email.mail.store.imap; 18 | 19 | import com.android.emailcommon.utility.Utility; 20 | 21 | import java.io.ByteArrayInputStream; 22 | import java.io.InputStream; 23 | 24 | /** 25 | * Subclass of {@link ImapString} used for non literals. 26 | */ 27 | public class ImapSimpleString extends ImapString { 28 | private String mString; 29 | 30 | /* package */ ImapSimpleString(String string) { 31 | mString = (string != null) ? string : ""; 32 | } 33 | 34 | @Override 35 | public void destroy() { 36 | mString = null; 37 | super.destroy(); 38 | } 39 | 40 | @Override 41 | public String getString() { 42 | return mString; 43 | } 44 | 45 | @Override 46 | public InputStream getAsStream() { 47 | return new ByteArrayInputStream(Utility.toAscii(mString)); 48 | } 49 | 50 | @Override 51 | public String toString() { 52 | // Purposefully not return just mString, in order to prevent using it instead of getString. 53 | return "\"" + mString + "\""; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /provider_src/com/android/email/provider/FolderPickerCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2012 Google Inc. 3 | * Licensed to The Android Open Source Project. 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package com.android.email.provider; 19 | 20 | import com.android.mail.providers.Folder; 21 | 22 | public interface FolderPickerCallback { 23 | public void select(Folder folder); 24 | public void cancel(); 25 | } 26 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/AliceAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are 6 | * met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of The Linux Foundation nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | package com.android.email.service; 31 | 32 | /** 33 | * This service needs to be declared separately from the base service 34 | */ 35 | public class AliceAuthenticatorService extends AuthenticatorService { 36 | } 37 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/AolAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are 6 | * met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of The Linux Foundation nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | package com.android.email.service; 31 | 32 | /** 33 | * This service needs to be declared separately from the base service 34 | */ 35 | public class AolAuthenticatorService extends AuthenticatorService { 36 | } 37 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/ClixAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are 6 | * met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of The Linux Foundation nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | package com.android.email.service; 31 | 32 | /** 33 | * This service needs to be declared separately from the base service 34 | */ 35 | public class ClixAuthenticatorService extends AuthenticatorService { 36 | } 37 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/EasAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2009 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email.service; 18 | 19 | /** 20 | * This service needs to be declared separately from the base service 21 | */ 22 | public class EasAuthenticatorService extends AuthenticatorService { 23 | } 24 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/EasAuthenticatorServiceAlternate.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email.service; 18 | 19 | /** 20 | * This service needs to be declared separately from the base service 21 | */ 22 | public class EasAuthenticatorServiceAlternate extends AuthenticatorService { 23 | } 24 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/EmailBroadcastReceiver.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email.service; 18 | 19 | import android.content.BroadcastReceiver; 20 | import android.content.Context; 21 | import android.content.Intent; 22 | 23 | /** 24 | * The broadcast receiver. The actual job is done in EmailBroadcastProcessor on a worker thread. 25 | */ 26 | public class EmailBroadcastReceiver extends BroadcastReceiver { 27 | @Override 28 | public void onReceive(Context context, Intent intent) { 29 | EmailBroadcastProcessorService.processBroadcastIntent(context, intent); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/EmailUpgradeBroadcastReceiver.java: -------------------------------------------------------------------------------- 1 | package com.android.email.service; 2 | 3 | import android.content.BroadcastReceiver; 4 | import android.content.Context; 5 | import android.content.Intent; 6 | 7 | /** 8 | * {@link BroadcastReceiver} for app upgrade. This listens to package replacement (for unbundled 9 | * upgrade) and reboot (for OTA upgrade). The code in the {@link EmailBroadcastProcessorService} 10 | * disables this receiver after it runs. 11 | */ 12 | public class EmailUpgradeBroadcastReceiver extends BroadcastReceiver { 13 | @Override 14 | public void onReceive(final Context context, final Intent intent) { 15 | EmailBroadcastProcessorService.processUpgradeBroadcastIntent(context); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/FreeAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are 6 | * met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of The Linux Foundation nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | package com.android.email.service; 31 | 32 | /** 33 | * This service needs to be declared separately from the base service 34 | */ 35 | public class FreeAuthenticatorService extends AuthenticatorService { 36 | } 37 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/GmailAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are 6 | * met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of The Linux Foundation nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | package com.android.email.service; 31 | 32 | /** 33 | * This service needs to be declared separately from the base service 34 | */ 35 | public class GmailAuthenticatorService extends AuthenticatorService { 36 | } 37 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/ImapAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email.service; 18 | 19 | /** 20 | * This service needs to be declared separately from the base service 21 | */ 22 | public class ImapAuthenticatorService extends AuthenticatorService { 23 | } 24 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/LegacyEasAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email.service; 18 | 19 | /** 20 | * This service needs to be declared separately from the base service 21 | */ 22 | public class LegacyEasAuthenticatorService extends AuthenticatorService { 23 | } 24 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/LegacyEmailAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email.service; 18 | 19 | /** 20 | * This service needs to be declared separately from the base service 21 | */ 22 | public class LegacyEmailAuthenticatorService extends AuthenticatorService { 23 | } 24 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/LegacyImapAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email.service; 18 | 19 | /** 20 | * This service needs to be declared separately from the base service 21 | */ 22 | public class LegacyImapAuthenticatorService extends AuthenticatorService { 23 | } 24 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/NoosAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are 6 | * met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of The Linux Foundation nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | package com.android.email.service; 31 | 32 | /** 33 | * This service needs to be declared separately from the base service 34 | */ 35 | public class NoosAuthenticatorService extends AuthenticatorService { 36 | } 37 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/Pop3AuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email.service; 18 | 19 | /** 20 | * This service needs to be declared separately from the base service 21 | */ 22 | public class Pop3AuthenticatorService extends AuthenticatorService { 23 | } 24 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/Pop3SyncAdapterService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.email.service; 18 | 19 | public class Pop3SyncAdapterService extends PopImapSyncAdapterService { 20 | } -------------------------------------------------------------------------------- /provider_src/com/android/email/service/SapoAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are 6 | * met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of The Linux Foundation nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | package com.android.email.service; 31 | 32 | /** 33 | * This service needs to be declared separately from the base service 34 | */ 35 | public class SapoAuthenticatorService extends AuthenticatorService { 36 | } 37 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/SfrAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are 6 | * met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of The Linux Foundation nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | package com.android.email.service; 31 | 32 | /** 33 | * This service needs to be declared separately from the base service 34 | */ 35 | public class SfrAuthenticatorService extends AuthenticatorService { 36 | } 37 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/SwingAuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are 6 | * met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of The Linux Foundation nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | package com.android.email.service; 31 | 32 | /** 33 | * This service needs to be declared separately from the base service 34 | */ 35 | public class SwingAuthenticatorService extends AuthenticatorService { 36 | } 37 | -------------------------------------------------------------------------------- /provider_src/com/android/email/service/Tele2AuthenticatorService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are 6 | * met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of The Linux Foundation nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | package com.android.email.service; 31 | 32 | /** 33 | * This service needs to be declared separately from the base service 34 | */ 35 | public class Tele2AuthenticatorService extends AuthenticatorService { 36 | } 37 | -------------------------------------------------------------------------------- /res/color/buttontext.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_add_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-hdpi/ic_add_24dp.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_exchange_minitab_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-hdpi/ic_exchange_minitab_selected.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_exchange_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-hdpi/ic_exchange_selected.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_setup_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-hdpi/ic_setup_delete.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_add_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-mdpi/ic_add_24dp.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_exchange_minitab_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-mdpi/ic_exchange_minitab_selected.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_exchange_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-mdpi/ic_exchange_selected.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_setup_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-mdpi/ic_setup_delete.png -------------------------------------------------------------------------------- /res/drawable-nodpi/mail_widget_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-nodpi/mail_widget_preview.png -------------------------------------------------------------------------------- /res/drawable-v21/ic_add_24dp.xml: -------------------------------------------------------------------------------- 1 | 16 | 21 | 24 | 27 | 28 | -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_add_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-xhdpi/ic_add_24dp.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_exchange_minitab_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-xhdpi/ic_exchange_minitab_selected.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_exchange_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-xhdpi/ic_exchange_selected.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_setup_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-xhdpi/ic_setup_delete.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/ic_add_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-xxhdpi/ic_add_24dp.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/ic_setup_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyanogenMod/android_packages_apps_Email/45d5dd33d90b7c5fe5182dd50dd2ab20f35ced87/res/drawable-xxhdpi/ic_setup_delete.png -------------------------------------------------------------------------------- /res/drawable/account_setup_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 22 | -------------------------------------------------------------------------------- /res/layout-w800dp/account_setup_activity.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 23 | 24 | 28 | 29 | 34 | 35 | 36 | 37 | 41 | -------------------------------------------------------------------------------- /res/layout/account_credentials.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 22 | -------------------------------------------------------------------------------- /res/layout/account_credentials_fragment.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 22 | 23 | 28 | 29 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /res/layout/account_server_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 21 | -------------------------------------------------------------------------------- /res/layout/account_settings_buttons.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 23 | 24 |