summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importstable/cm-13.0-ZNH0Einky@build012016-10-021-16/+0
| | | | | Change-Id: I637829b506affd5769b4dc398248b9a0e710b60a Ticket: RM-214
* Automatic translation importinky@build012016-09-183-1/+365
| | | | | Change-Id: Ib6ee5a0282416b293d352c36f8258708f6a34593 Ticket: RM-214
* Automatic translation importclyde@build012016-08-223-0/+494
| | | | | Change-Id: Iad7ae0c224da9ef8677a1c64b4f90564e67a4cb3 Ticket: RM-214
* Automatic translation importpinky@build012016-08-184-1/+495
| | | | | Change-Id: Ie0572046177b68916a8d7dd8c733a4e7f3470ec0 Ticket: RM-214
* Automatic translation importinky@build012016-08-151-0/+31
| | | | | Change-Id: I0db8a43a32264ef58bc8622355325e091ea839dc Ticket: RM-214
* Automatic translation importclyde@build012016-08-132-0/+463
| | | | | Change-Id: Ib1c7172c7c347ddfbddd254ec8bc1c071041c33b Ticket: RM-214
* Automatic translation importpinky@build012016-06-203-1/+385
| | | | | Change-Id: Ia660e50aaa20358ae4cb021f079404e454a85c5f Ticket: RM-214
* Automatic translation importAbhisek Devkota2016-05-181-0/+4
| | | | | Change-Id: Ibb00c717f70e402d6a7bf4bf0f7ec644efb427a6 Ticket: RM-214
* Automatic translation importMichael Bestas2016-04-274-0/+512
| | | | Change-Id: Ie65d9c72dfc6a70ee53e9a73da7363812b9dbd24
* Automatic translation importMichael Bestas2016-04-274-4/+498
| | | | Change-Id: I8006e24717183223f02885b5f2a0495e2b41fba5
* Automatic translation importMichael Bestas2016-04-276-19/+927
| | | | Change-Id: I4c1315d91dbd57b969fbd52c6b0cdc7c21b916c7
* Automatic translation importMichael Bestas2016-03-2914-8/+302
| | | | | | RM-214 Change-Id: I0184f16da334fb3abba09bd6dac209ff2b8f0b9a (cherry picked from commit d56a07b3fd518ac3f81348b3e52aaa16db2f1808)
* DeskClock: Remove "Week Start" preferencecretin452016-03-082-27/+0
| | | | | | | Issue-id: CYNGNOS-2208 Change-Id: I5b2eb70b784d39f218f8f32ef4d03426c84885ec (cherry picked from commit 4623c88c68d26c09f183f7f3db3e0d6645e576c6)
* Automatic translation importMichael Bestas2016-03-07119-7/+7775
| | | | | RM-214 Change-Id: Ic99b955715bcdcaafc881944b9fa597a195923b1
* Automatic translation importMichael Bestas2016-03-074-6/+6
| | | | | RM-214 Change-Id: Icf3767ee5b29daf657f7be6d81ffa7a93138c9ba
* Automatic translation importMichael Bestas2016-03-073-3/+4
| | | | | RM-214 Change-Id: I6433703786d21d3a395c3dbd92cabf6bda780d8d
* Automatic translation importMichael Bestas2016-03-072-0/+74
| | | | | RM-214 Change-Id: I16f4d607e1a5c0d2bb72c90397ac57944d0de3c3
* Automatic translation importMichael Bestas2016-03-071-0/+1
| | | | | RM-214 Change-Id: I4e958d2d4611736dc32e9fed4e3ed99dbadb548a
* Alarm: Bind start-of-week to the localeRicardo Cerqueira2016-03-022-3/+7
| | | | | | | | | | Instead of relying on a manual setting that's only initialized once with the bootstrap/post-setupwizard locale, dynamically bind the days-of-week order to the active locale, in real time. Change-Id: Ied25a867241a3269a7e69e16c3038c87cf5d2aa9 JIRA: CYNGNOS-1822 (cherry picked from commit ae8bcce16407f49b4741479f40f381811196cea3)
* DeskClock : Don't set POWER_OFF_ALARM_MODE unecessarilyDanesh M2016-02-231-1/+1
| | | | | | | | | | Setting this even if alarm is cancelled can get the user in a state where the flag is never unset, and hence consume their home/search/menu keys...etc. CYNGNOS-2119 Change-Id: I7b16de8530c937192d2c87b0ae52438185eca8d8 (cherry picked from commit a1de334aaf2aada20d48b459a64a668d895d78f5)
* DeskClock: fix crash during POWER_OFF_ALARM start upWilhelm Fitzpatrick2016-02-122-6/+5
| | | | | | | | | | | | | | | | When starting up as a resul of a POWER_OFF_ALARM, there is code in the app to check if we just missed the alarm we are starting up for. Since we start up two minutes early, this is usually not the case, but there was a codepath while finishing the AlarmActivity that assumed that mAlarmInstance wasn't null, so added a null check. Also added some comments and renamed a method to make the purpose of this startup path clearer to future generations. CYNGNOS-1977 Change-Id: Icc67b71620b2859e596a46a04aff1e773637c694 (cherry picked from commit b3e564ae1a7673d75802c0451b7c4e7aeb6763d8)
* DeskClock : Fix "GoogleNow cancel alarms crash"Danesh M2016-02-091-1/+1
| | | | | | | | | | | | The crash is caused by inconsistency between parcel writes/reads. writeToParcel includes attributes which were being ignored by the createFromParcel of ParcelUuid and hence setting the seek position in the parcel incorrectly and corrupting the next object. This is why the 2nd object was null. CYNGNOS-1696 Change-Id: I5eda72002cc8e489accf185a64bbe84e4cd7614b (cherry picked from commit 2124c3eb9ee1e476994cdd593db2a371b09abbe0)
* DeskClock: Set untranslatableMichael Bestas2016-01-241-1/+1
| | | | | | RM-208 Change-Id: Id9a7ed44851718ea6e09167b5bff39d577149752
* Allow theming numpadYadrishnikov Yaroslav2016-01-182-1/+6
| | | | | | | Ticket: KOV-14 Change-Id: I8932f5f163b3dbe53d89116ccb877fdff093c2d4 (cherry picked from commit 9d09dad8be22d38f6c5ea101e50364cc6860d08b)
* Expose background colors for theming.Dave Kover2016-01-186-38/+96
| | | | | | | | | | | The background colors are currently defined as a hard coded array in Utils.java. This patch moves this array to cm_arrays.xml and exposes the colors of the array in cm_colors.xml for theming Ticket: KOV-14 Change-Id: Id72867ee82edd28bc120223be96c34448d79f1ae (cherry picked from commit ef62c1a92eb6f02e78f8501ddca25ce0ed613132)
* Automatic translation importMichael Bestas2016-01-1154-0/+1944
| | | | Change-Id: I6ae0ea3a62f61caa437387b8e767f6dadfe9e5a0
* Allow alarms to be modified by 3rd parties.Matt Garnes2016-01-0410-331/+158
| | | | | | | | | | | | | | | | | | | | | | | | - Export the ClockProvider. - Use the ClockContract in the CM Platform SDK for external reference. - Use these CM SDK defined permissions: - "cyanogenmod.permission.WRITE_ALARMS" - This system|signature only permission gives full write access to the ClockProvider. - "cyanogenmod.permission.READ_ALARMS" - Read only access to the ClockProvider. - "cyanogenmod.permission.MANAGE_ALARMS" - Access to perform a subset of all alarm changes such as turning on or off alarms. - Protect the provider with the above permissions for read/write. - Move the logic for updating an Alarm object directly into the Alarm class. - Add a new IntentService to allow turning on and off alarms when started by an application with the MANAGE_ALARMS permission. Depends on: http://review.cyanogenmod.org/#/c/125486 Derived from: http://review.cyanogenmod.org/#/c/103324 Change-Id: I399ce9f1073c6fdcb1711a11095f7c3a4bce2c6a
* DeskClock: Add back flip and shake actionsWilhelm Fitzpatrick2016-01-025-11/+298
| | | | | | | | | | | | | | | | | | | | | | Allow the alarm to be dismissed/snoozed by flipping or shaking Picked from: http://review.cyanogenmod.org/#/c/29894 http://review.cyanogenmod.org/#/c/80342 http://review.cyanogenmod.org/#/c/81204 http://review.cyanogenmod.org/#/c/94950 Authors/Contributors: Artem Chep <artemchep@gmail.com> Danny Baumann <dannybaumann@web.de> Ronald Ramsay II <ronaldramsayii@gmail.com> Danesh M <daneshm90@gmail.com> Michael Bestas <mikeioannina@gmail.com> Martin Brabham <mbrabham@cyngn.com> Change-Id: I222b6cd53a95db6f8662e7aef52aa6922d8a5d6a
* Automatic translation importMichael Bestas2015-12-254-0/+1171
| | | | Change-Id: Ie5b949d10e3f62676ac77e575f7193a8cc0cd3f4
* Make new menu entry to link to cLock widget settings.Martin Brabham2015-12-223-0/+24
| | | | Change-Id: I13ca3156c34eccdd8f60d8585281ae0585aac58e
* DeskClock: add switch to profile feature from LollipopWilhelm Fitzpatrick2015-12-189-0/+161
| | | | | | | | | | | | | | Sourced from: http://review.cyanogenmod.org/#/c/54872/ http://review.cyanogenmod.org/#/c/82967/ http://review.cyanogenmod.org/#/c/101941/ http://review.cyanogenmod.org/#/c/108159/ Original feature author: Jorge Ruesga <jorge@ruesga.com> Ref: CYNGNOS-1461 Change-Id: I3c74631677c8cb5c6cef31178716f0afe973bc15
* DeskClock: add increasing volume option for alarm clocksWilhelm Fitzpatrick2015-12-165-30/+139
| | | | | | | | | Based on CM12 feature: https://github.com/CyanogenMod/android_packages_apps_DeskClock/commit/7fc93e1b93b0e9e56a8426a6201a26c2bfca90ba http://review.cyanogenmod.org/#/c/82967/ Change-Id: I090c76bd773e419f10e1e02bcf3c40ad04d6a988
* DeskClock: SwitchPreference for Automatic home clockAdrianDC2015-12-152-4/+3
| | | | | | * Delete the CheckBoxPreference importation Change-Id: Iec25c343759fa7727ff3faaf480b014f3e8c6cb1
* DeskClock: Add option to hide AlarmClock Icon in StatusBarMichael Bestas2015-12-154-0/+49
| | | | Change-Id: I757fcce947536ac78a954eda72470f507c6ddb23
* DeskClock: add support for power off alarmMao Jinlong2015-11-307-25/+230
| | | | | | | | | | When it is alarm boot, it will trigger power off alarm alert view at the very beginning of the phone boot phase. During power off alarm alert view: - keyguard is dismissed, will restore later - user can choose to continue power on the device or not Change-Id: Id5bce67793cef694712b0591be68ef6882be6693
* Alarm: Use dedicated alarm type for poweroff alarm.Mao Jinlong2015-11-304-3/+29
| | | | | | | | | | | | | RTC_POWEROFF_WAKEUP is a new alarm type introduced by framework to perform poweroff alarm. The time (RTC_WAKEUP) set to framework is not the same as the alarm time set in deskclock. In this case the RTC register might not be correctly set. So both RTC_WAKEUP and RTC_POWEROFF_WAKEUP types need to be set at the same time: RTC_WAKEUP type will handle the normal alarm process, and RTC_POWEROFF_WAKEUP is used to set the correct alarm time to RTC register. Change-Id: Ic03f87018e163adf6f6e6013963a497d340fbec7
* Provide upgrade path for cm12.1 -> cm13.0Pavel Kirpichyov2015-11-205-11/+138
| | | | | | | | | This just takes care of making the database is up to date with cm12.1 *Increasing alarm and switch to profile still need to be implemented. Change-Id: Ibbb2b618ddeb6f93cd95a0fba3923bfd6d3fbbbb
* DeskClock: fix crash when trying to view world citiesAltaf-Mahdi2015-11-072-0/+3
| | | | | | | | | | | | Add proguard.flags and keep class android.support.v7.widget.SearchView fixes: SupportMenuInflater: Cannot instantiate class: android.support.v7.widget.SearchView SupportMenuInflater: java.lang.NoSuchMethodException: <init> [class android.content.Context] AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.SearchView.setImeOptions(int)' on a null object reference Change-Id: Iaa260193d48ac086cf54232b433b9dcf7b8ba361
* Merge tag 'android-6.0.0_r26' into cm-13.0Ricardo Cerqueira2015-11-0555-5225/+5229
|\ | | | | | | Android 6.0.0 release 26
| * Import translations. DO NOT MERGEBaligh Uddin2015-09-261-2/+2
| | | | | | | | | | Change-Id: Idd1403c37c747b28a9d46f3293c6a6ba55c6fee8 Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEBaligh Uddin2015-09-241-7/+7
| | | | | | | | | | Change-Id: I56069055598eca57bfe2087376a31d4d1eacd49c Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEBaligh Uddin2015-09-231-1/+1
| | | | | | | | | | Change-Id: Ia4b705eb15a306c8c3717d7b192eee72326885a4 Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEBaligh Uddin2015-09-1813-447/+451
| | | | | | | | | | Change-Id: I3c1e38974ad6e223d7db69e9843819bc47d2f3dc Auto-generated-cl: translation import
| * am 0e416a72: (-s ours) am a9bb55e5: (-s ours) Import translations. DO NOT MERGEGeoff Mendal2015-08-030-0/+0
| |\ | | | | | | | | | | | | * commit '0e416a72938227650d7bc4e190c17d6ac6958f90': Import translations. DO NOT MERGE
| | * am a9bb55e5: (-s ours) Import translations. DO NOT MERGEGeoff Mendal2015-08-030-0/+0
| |/| |/| | | | | | | | | | | * commit 'a9bb55e5973a1b25193f76cd2b9924a6431e8717': Import translations. DO NOT MERGE
| | * Import translations. DO NOT MERGEGeoff Mendal2015-08-031-1/+1
| | | | | | | | | | | | | | | Change-Id: Ic45c68a47cf742b7518a3ef2ccd5252acb399cd8 Auto-generated-cl: translation import
| * | Import translations. DO NOT MERGEGeoff Mendal2015-08-031-1/+1
| | | | | | | | | | | | | | | Change-Id: Idcd48a28d4e814d5c4ac1dfce3c5ea2f3b740492 Auto-generated-cl: translation import
| * | am 1465b6d7: (-s ours) am c9d7506c: (-s ours) Import translations. DO NOT MERGEGeoff Mendal2015-08-010-0/+0
| |\ \ | |/ / |/| | | | | | | | * commit '1465b6d7cfa5df47556143cad36b1152785d5975': Import translations. DO NOT MERGE
* | | am c9d7506c: (-s ours) Import translations. DO NOT MERGEGeoff Mendal2015-08-010-0/+0
|\ \ \ | | |/ | |/| | | | | | | * commit 'c9d7506ceda21c53f64e55412016a452fefff1bb': Import translations. DO NOT MERGE
| * | Import translations. DO NOT MERGEGeoff Mendal2015-07-313-5/+5
| | | | | | | | | | | | | | | Change-Id: Ie443d413982eddb6239b4e1849d4a7a83091089f Auto-generated-cl: translation import