DeskClock: Add support for XXHDPI devices (e.g. Galaxy S4 and HTC One)

Change-Id: I9310e9067525da025d15a797f43c1b8cbc082272
DeskClock : Lockscreen dismiss Fix

https://jira.cyanogenmod.org/browse/CYAN-1116

Issue : Alarm dialog would unlock the lockscreen.
Resolution : Remove FLAG_DISMISS_KEYGUARD flag.

Change-Id: I9920376a2f8195b80f2907052dbfe353c4cb54a7
Revert "Feature: Bedtime calculator"

This reverts commit 8b308f5fe52bca55073b284c0eb608b52f35571e.
Fix a number of issues introduced with the increasing volume setting

- Fix coding style
- Fix alarm layout
- Don't increase volume to levels higher than set in the system
- If increasing volume is enabled and alarm volume is set to 0, don't
  play alarm
- Don't randomly change log class usage

Change-Id: Ib98d82e361e83a76f08550f3b74df0c6270645a8
Fix NullPointerException when using vibrate-only alarms.

mAudioManager wasn't initialized in that case.

Fixes issue CYAN-376.

Change-Id: I70b3bc1f89498c3407980f512b09c3449969e733
Add empty view when no alarms are set

Change-Id: I1443da1c0c4b6b17e80871d62784f61a087a71d5
DeskClock: Recreate alarms DB on downgrade

This fixed the cm10 to cm10.1 transition (from version 7 to 6)

Change-Id: Ia30915e8c4ebc36b191b5a876acbc8cb779b6689
JIRA: CYAN-1188
Issue: https://jira.cyanogenmod.org/browse/CYAN-1188
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
DeskClock: User-defined world cities

Support for add user-defined cities to the world clock

Patchset 2: Added GPS query
Patchset 3: Added GPS drawables
            Call requestGpsLocation in background
Patchset 4: Added timezone resolution through Google Api
            Added Marco suggestions
            Rebased
Patchset 5: Remove trailing whitespaces
Patchset 6: Moved cm strings to the end of the file
            Rebased
Patchset 7: Export DbCityProvider. Enforce write permission to DeskClock only
Patchset 8: Fix FC when there is no default timezone
            Add content description to GPS button
            Don't create a new city record of city name + city tz already exists
Patchset 9: Rebased
Patchset 10: Rebased (Moved string to cm_string)
Patchset 11: Cleanup
Patchset 12: Use localized time zone names
Patchset 13: Fix online timezone lookup
Patchset 14: CleanUp. Save dialog state
Patchset 15: Kill of async tasks when closing dialog

Change-Id: Ibb6febc674ca536728367588437fbdacaa437ff3
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
DeskClock: Add an option to switch profile

This change creates a new setting for the alarm, that allows to associate
a profile with an alarm, and change to this profile when the alarm triggers.

Patchset 2: Added Danny's suggestions
Patchset 3: Cleanup

Requires http://review.cyanogenmod.org/#/c/38224

Change-Id: Ie2be32fc1ce4c7087eea87a3e289a38e85d3de7e
JIRA: CYAN-210
Issue: https://jira.cyanogenmod.org/browse/CYAN-210
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
DeskClock: Fix timezone of user-defined cities

Change-Id: I6cfb63485ad964011d74d5c22b65ef3510ef6d15
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>