| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Assuming all compressed files are malware is a little extreme.
Change-Id: I0ef776f3ad4af1fb73199989c99ab05171353d17
|
|
|
|
|
| |
Change-Id: I8a184a5644e4322ee65d969e14cd47fe119f5df2
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
| |
Change-Id: Ifaf5f757f7f844e49f0ac635b477fcbef4926293
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
| |
This enables to auto-sync multiple IMAP folders, not only Inbox. Default to Inbox only.
This changes relays in the syncloopback attribute to configure the folders to add to
sync process.
Change-Id: I8973cfd6ddec33446256bc8b48418558e27596b5
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
| |
Change-Id: I0f0f2b7ea950d5154f90cd60261c6918b7ad36b7
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds support for suggested contacts (email addresses not in the contact
provider and received via email). The implementation creates a new separate
"extras" database (to avoid conflicts with future aosp changes). In the table
SuggestedContacts are stored every email address present in every email inserted
in the database.
This allow to display this contacts in the RecipientEditTextView when compose an email.
Suggested contacts are selected by account (only those ones received by that account).
This features is opt-out by default, but it can be activated in general settings by
choosing the suggested contact mode:
* none: Not active
* recents: Those received within the last 7 days
* all: All the suggested contacts
Change-Id: I156c3b1e2c4e4cff985a2183bc72b805bd596f3b
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
| |
Start handshake prior to hostname verification to ensure exceptions do not get silenced
Change-Id: Ide60753663d82d63b0f410b985447b7b26efd8f1
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the underlying socket factory reference to SSLCertificateSocketFactory which
has support for SNI since 4.2, and remove the access to the obsolete methods from
the old factory reference.
This change will setup the socket with a proper hostname prior to the ssl handshake.
Change-Id: Ic3315f3924f33470ea2da14e8ac3b946d039b1d5
JIRA: CYAN-3775
Issue: https://jira.cyanogenmod.org/browse/CYAN-3775
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
| |
Add the new columns when coming from v126, add the old ones when
coming from any other value (or creating) so that they're there
when the feature gets reintroduced
Change-Id: I48ec042b30afbcefd43bdad0042147b6b0d2249f
|
|\
| |
| |
| | |
ub-gmail-ur14-dev
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
b/18001842
I do this in MailTransport, which is only used by POP and IMAP.
I can't log Analytics in SSLSocketFactoryWrapper, because that
is in emailcommon and would cause a circular dependancy between
emailcomman and UnifiedEmail.
This will not yet work for Exchange, because it gets its socket
indirectly through EmailClientConnectionManager, using a
SchemeRegistry. Still, it will be helpful to get this info for POP
and IMAP.
Change-Id: Ibb9d22c83c49d0ba5090295b5321ca6afb09e65b
|
|/
|
|
|
|
| |
b/18001842
Change-Id: I8312fe541896e1ceeb6c5102f90bdbb0bb945151
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
b/18001842
In the L platform, some cipher suites are disabled by
default. Unfortunately, some of these are still in use
by common email providers. We need them to be enabled
for email to work with these providers.
Change-Id: Ia3a9bab5467c26626db9259074f77ec476610fa5
|
|/
|
|
|
|
|
|
| |
The previous version of this function would return the _ID value
instead of the SOURCE_MESSAGE_KEY value from the Body row.
Bug: 17720266
Change-Id: Ie4cfc988b0659892b68d31472ef0c41d4aa98c68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
b/15721931
This follows an example pattern from GoogleHttpClient.
It tries to get the SSLCertificateSocketFactory from
GmsCore using reflection. If that fails, (because GmsCore
is not installed on the device) then it will fall back
to the platform implementation.
MailApplication sets a static object in SSLUtils that
allows it to get an externally created SSLCertifcateSocketFactory.
If this method is set, then it will use it, otherwise it
will fall back to the platform factory. This way there
is no reference to GmsCore in the AOSP email.
Change-Id: I0890fe4c3d79283fb98a4dc5a62a32efd320e52a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
b/16463253
The FAB compose button overlaps the action button found in the TL footer
when network errors occur during sync. To avoid this overlap, the snackbar
is used to display these errors and they no longer appear as a TL footer.
In order to signal the sync error to AAC for display in the snackbar, the
Folder.lastSyncResult needed to be encoded in the manner that AAC reads.
This was not happening for POP/IMAP/Exchange accounts, so a large portion
of this change is encoding that value properly every place it is written.
To ensure the value is read/written properly everywhere, common methods were
introduced in UIProvider that do this work. UIProviderTest was also added
to ensure the read/write methods agree with each other.
Finally, the display of the "Load More" TL footer was updated to match the
latest spec.
Change-Id: I9d3ae1157f288f05b0fed4d1385858f6c9ebfbf9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
b/17443087
When we migrate exchange accounts, we copy mailboxes over to the
new account (in order to preserve sync frequency and window).
The problem with this is, you may have many accounts/mailboxes.
After starting the app, it may take quite a long time before all
mailboxes are synced. If the user visits some mailbox near the
bottom, they'll see a misleading "folder is empty" view.
Now, when migrating, we'll set the uisyncstatus to INITIAL_SYNC_NEEDED.
Here I needed to add INITAL_SYNC_NEEDED to the list of states
that EmailConversationCursor will consider incompletely loaded.
Change-Id: Idef13adf9d691c03665830a2f926b1806d7591da
|
|
|
|
| |
Change-Id: I2e6085084682b04ef7973bc433214b5b3ab2da79
|
|
|
|
|
|
| |
b/17570154
Change-Id: I759a116a14784e92e7fa7eb51755ceda3860550e
|
|
|
|
|
|
|
|
|
|
|
| |
There is still work to be done here:
* The debug setting is not persisted in Exchange, so if
the exchange service is killed, when it restarts the logging
will not be active.
* Nothing in Exchange actually does any additional logging
if this logging is turned on.
Change-Id: Ic578e6956f70dd47fba9b2895385312f71c47abf
|
|
|
|
|
|
|
|
|
| |
The only way that the ServiceConnection was not being freed is if
there was an Exception (other than RemoteException) being thrown
out of mTask.run(). Now the call to unbindService() is called
in a finally() block surrounding that block of code.
Change-Id: I597412233381894be76d3c8bdf99fc7d96794dc2
|
|
|
|
|
|
| |
b/17048013
Change-Id: If2bc857266a6ba1445bf1fabbaed179c1b13a14f
|
|
|
|
|
|
| |
b/16872654
Change-Id: Ib8943f068ad6988ff08f8bfd54e2df8fa5ce0274
|
|
|
|
|
|
|
| |
b/16679701
Change-Id: I59d7cb4a803f0ad8e782614d0c6cc635318d2375
(cherry picked from commit d039322f7402ef402eb66c92b899510dd6649e2d)
|
|
|
|
| |
Change-Id: I80e074196ca8cb6962d400a756c510c8e3105899
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add version support
Change deleteAccountPIMData to deleteExternalAccountPIMData.
Data kept inside the EmailProvider can be deleted from within
the Email app. Only external data (e.g. contacts and calendar)
need to be deleted by the service which has protocol specific
knowlege.
Change-Id: I875d3051d0cfdbaf52775ec20eb114a345894a93
|
|/
|
|
|
| |
b/16240332
Change-Id: I9bc3f9a2e0b7faa4d8875a9ac7d6d585a65d9733
|
|
|
|
|
|
| |
Give examples of what the display name is.
Change-Id: I2934dc9e8b95d0b32b9c1e9fab391d7ba9e997da
|
|
|
|
|
|
|
|
|
|
|
|
| |
We want a separate class for communicating HostAuth objects
to and from IEmailService. The issue is that the HostAuth object
was being used for both to and from the database, and to and from
IEmailService. This is dangerous because The Email app may change
out of band with the Exchange app, and may need to change the
format of HostAuth. This bit us before when adding OAuth.
Now communication to IEmailService is done using HostAuthCompat.
Change-Id: I2fb8c2bd8158f58a7bb9bc3dc83a7936948c718c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
b/9566150
- Install PublicPreferenceActivity
- Create AccountServerSettingsActivity to contain all the crazy
logic we don't want in AccountSettings
- Add restoreAccountWithAddress to Account
- Refactor almost everything out of AccountSettings
- Tidy the QuickResponse fragment
- Majorly refactor the AccountSettingsFragment to decouple it from
the activity, and make it save settings immediately instead of
when pausing
- Move login warning dialog to AccountSettingsFragment
- Tweak HeadlessAccountSettingsLoader
Change-Id: Ie69181d968b9c3e5940cfef9690b1f5c70e21aa8
|
|/
|
|
| |
Change-Id: I4a687b003884ea6a92a755fcbf394001bfc96a38
|
|
|
|
|
|
|
|
| |
This enables the client of the provider to suppress the email combined
account. Later, the UI can enable a combined account that spans all of
the account types
Change-Id: I77e201f751019240af2274a1f74e2124b9889aab
|
|
|
|
|
|
|
| |
This is not yet finalized, but it's needed to fix push syncs
on exchange.
Change-Id: Iaff20aa0bdea9685ef6603de1f861d58fbab6ff1
|
|
|
|
| |
Change-Id: Ica8bd735a91417ed44bd547ab7176832745d729e
|
|\
| |
| |
| | |
ub-mail-master
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
b/14998528
These are particularly important since they are stored in JSON form within the
Account Manager, so maintaining backward compatibility when future changes are
introduced is crucial.
Change-Id: I51333a364726a4c7e2fe88ee888e8c4cc11d962f
|
|\ \
| | |
| | |
| | |
| | | |
* commit '73101f3a7bc1e735199a7c2c18358e9db9af0bca':
Fix OAuth when changing credentials from settings
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
b/15521401
Change-Id: I7909389943c8e3eefbef0699f1c7c9c338282ca5
(cherry picked from commit 994c282d804a635f783681ae314a6b4b244b476e)
|
| |/
|/|
| |
| |
| |
| | |
b/15521401
Change-Id: I7909389943c8e3eefbef0699f1c7c9c338282ca5
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix re-displaying the dialog on orientation change b/5622284
Add host/port when available b/4988512
Disambiguate intent between AOSP and EmailGoogle
Change-Id: Ideeda20dfd9bd0070998ccf42d8042765866ca0e
|
| |
| |
| |
| | |
Change-Id: Id8e770154d6116b02746cbdfb8c7cdc9358398de
|
| |
| |
| |
| |
| |
| | |
This reverts commit cf2178c4fa61538f5a2f862fe3f9bc16b9f06ebb.
Change-Id: I9b05dd7a29a2d2edf64529ca28e2305737a43115
|
| |
| |
| |
| |
| |
| |
| |
| | |
This doesn't need to be part of the service because the
implementation doesn't need to be different between any
of the different protocols.
Change-Id: Ifddf16dd3ccaf397029f08f6d4283d9a5630f717
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Icfd0c4ab2ad25cc02b45cf41e7a205c17948ef2c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also fix some excessive checking of incoming/outgoing settings fragments
b/14969455 b/14971192
Change-Id: I6cf83aa59d381d3bbfc33e0d4a6e133c1814ba69
|
| | |
| | |
| | |
| | | |
Change-Id: Iea9f2a1b1f2d87e07d63cbb1df5a0d6355ea4031
|