Automatic translation import

Change-Id: I337b4f8fc1ffe4335e6b197495addb3a97fd33ab
CMUpdater: select default update type if an invalid one is provided

In the case when users had the *removed* update type (array index 3), we
were not selecting any channels for the outgoing JSON request. So select
the snapshot channel by default.

Change-Id: I75b91f9d6d57d45ee417235b28e5709fc5a60f6a
Signed-off-by: Roman Birg <roman@cyngn.com>
cmupdater: run abort in a non-uithread

onStartService runs in a UIThread, so we should run networking operations in a non-ui thread
to avoid NetworkOnMainThreadException errors.

Change-Id: I7eb087efdc2bb610bbc71ec581cc12ef477b77ef
JIRA: CYAN-4361
Issue: https://jira.cyanogenmod.org/browse/CYAN-4361
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Automatic translation import

Change-Id: Id303ff5f0a3b74867537c0205f5fa25dfeec3fb2
Merge remote-tracking branch 'cm/cm-11.0' into HEAD