email: Holo Light ringtone picker dialog

Depends on
http://review.cyanogenmod.org/#/c/61392
http://review.cyanogenmod.org/#/c/61393

Change-Id: I5e828ca7379525d37358d8970fb53bba2aad24f6
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
email: add support for Server Name Indication (SNI)

Change the underlaying 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: I494312721979a40a01699f5c15028dfafe7d07a9
JIRA: CYAN-3775
Issue: https://jira.cyanogenmod.org/browse/CYAN-3775
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "email: Holo Light ringtone picker dialog" into cm-11.0
Revert "email: add support for Server Name Indication (SNI)"

This reverts commit 02684c911b4c035404a856bf145d2f616c1d0b08.

It's causing NPE because of socket.close (see https://android-review.googlesource.com/#/c/89135/3)

Change-Id: I5c524db1ae23e6a9b8852014b2f10332ff32de61
Merge "Revert "email: add support for Server Name Indication (SNI)"" into cm-11.0
Initial translation import

Change-Id: Iea727764ae63d73f95be6664bc9cbe2b1298ef59
email: add support for Server Name Indication (SNI)

Change the underlaying 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>
Automatic translation import

Change-Id: I34dd4eb4df793e4a0a72c62125e58ed6364a6c68