aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* LockClock: Clean up proguard, fix build without jackstable/cm-13.0-ZNH5YKetut Putu Kumajaya2016-12-031-9/+2
| | | | | | RM-290 Change-Id: Ibca575ec1c5b0b5e965e01cabd668067f1c5b5f7
* LockClock: Don't forcefully enable widget calendar on resumeZhao Wei Liew2016-09-161-1/+0
| | | | | | | | | | | | | | | | | | We were always enabling the calendar events on the widget on resume, even if the user previously disabled them. Repro case: 1. Go to "Calendar events" 2. Uncheck "Display next event" 3. Press the back button OR sleep the device 4. Go to "Calendar events" again Noticeably, "Display next event" becomes checked again. RM-290 Change-Id: Ie18551d754def01ca7339fe3915d1b1663058f06 (cherry picked from commit 968e74692f0353d6b5948377b327a9f3e0841424)
* Automatic translation importclyde@build012016-08-290-0/+0
| | | | | Change-Id: I274ffdfafaade7c4c0176a3ffc077cb28fb99867 Ticket: RM-290
* Automatic translation importinky@build012016-08-261-1/+1
| | | | | Change-Id: If7629929cebfd96dd5a283788f2a2c6eb2135b68 Ticket: RM-290
* Automatic translation importpinky@build012016-08-211-0/+48
| | | | | Change-Id: I6f9263bbbb66cb2aab3d44b7aed94f1fb40395e2 Ticket: RM-290
* Automatic translation importpinky@build012016-08-190-0/+0
| | | | | Change-Id: Ib98e81573291b7e5e0177566d18c83229d77aa8d Ticket: RM-290
* Automatic translation importpinky@build012016-08-192-15/+63
| | | | | Change-Id: I31a40f6064aa7ce42f4a15cd8a923a9a0a6eb11f Ticket: RM-290
* Automatic translation importblinky@build012016-08-131-0/+48
| | | | | Change-Id: Ie34dfc93575c3faf377d7ce691aa52f82afaff1c Ticket: RM-290
* Automatic translation importblinky@build012016-08-101-1/+1
| | | | | Change-Id: I5136ed13194d7df1064c244b6d5f062df014ea01 Ticket: RM-290
* AM/PM: Fix incorrect am/pm textStephen Bird2016-07-283-3/+10
| | | | | | | | | | | | | | | When rolling over from AM to PM (or vice versa) the text will show the incorrect time eg: At 12:00 AM the clock will still show 12:00 PM At 12:00 PM the clock will show 12:00 AM This switches our time period to the TextClock for >= API 17 so that we can get the correct time period. This also cleans up the regular am/pm textview for devices < 17. Change-Id: I09de23a1ea559a570d7cac5ffb7dbe9266f5fb40 Ticket: OPO-767
* Automatic translation importinky@build012016-07-221-1/+1
| | | | | Change-Id: I5f893f0df778d20352296d97844330f90eff1c80 Ticket: -
* Automatic translation importinky@build012016-06-291-0/+2
| | | | Change-Id: I8b3b1c7b7d603d8992de32a227926863011ae0c1
* Actually verifies if CM weather feature is availableLuis Vidal2016-06-201-1/+1
| | | | | | | | | Commit 67d9adc70b used the wrong constant which caused the weather menu to be always removed from the widget settings. Use the correct constant to check if the weather feature is available Change-Id: I389e32ddd9db40c4523baf4602436dee041c631c TICKET: CYNGNOS-3071
* Verifies if weather service is availableLuis Vidal2016-06-174-7/+43
| | | | | | | | Checks if the weather service is available in the device to make sure we don't spend time trying to update the weather or update the widget. Change-Id: I3f9adcfa260fea5cde62c0a45b355fd6946c69f1
* Automatic translation importinky@build012016-06-171-2/+2
| | | | Change-Id: I0b7e01d379c0227891969c767e39c4dba73deb8f
* Don't include all resource densitiesRicardo Cerqueira2016-06-141-1/+0
| | | | | | There's no reason for this, trim out the drawable fat Change-Id: I684fa2a7eb4578f47aa07ac171bf989d7db135ba
* Unregister from WeatherManager ONLY if service was actually registeredLuis Vidal2016-06-081-3/+6
| | | | | | | | | | | Althought haven't found a way to reproduce, there are reports of IllegalArgumentException thrown by CMWeatherManager because WeatherSourceListenerService is trying to deregister itself as a weather service provider change listener when in fact was not registered. Make use of a flag to confirm if we registered. Change-Id: I75e653aa60d01d151e9858d3456a69708d9eb2cd TICKET: CYNGNOS-2989
* Report correct status if failed to process weather update requestLuis Vidal2016-06-081-1/+2
| | | | | | | | | | onNewWeatherRequest() was sending MSG_WEATHER_REQUEST_FAILED with no arguments when the request failed, causing endless weather update requests. Fix this by reporting status FAILED when all options to process the request were exhausted Change-Id: I821b86ebbab97664aa0d15650a2b3ba25f143e99 TICKET: CYNGNOS-2941
* Handle >5 forecast items in cLock Forecast viewDvTonder2016-06-074-16/+42
| | | | Change-Id: Ifd4891b990d89d1a4c535a3efb9c3db39eae7aab
* Automatic translation importinky@build012016-06-014-3/+8
| | | | Change-Id: I281b5d4691ad1e1d3b8b0ad57353fa735e063b62
* Automatic translation importAbhisek Devkota2016-05-101-0/+3
| | | | | Change-Id: I50d9e47821162a040b112bb6d3ce3e18cef5ab4a Ticket: RM-232
* Automatic translation importMichael Bestas2016-05-1023-2/+44
| | | | Change-Id: I00cfb080092a4f70e6ba404ea91cf493588cee6c
* Automatic translation importMichael Bestas2016-04-2962-62/+14
| | | | Change-Id: I230caa4d10cabbfbf43af71e4329b75aac30a132
* Fix weather source string translatabilityMichael Bestas2016-04-272-3/+2
| | | | | | * Also improve the string a bit Change-Id: I40c8dc167aa1cc886e06e60adb9f79f7551a89c1
* Refactor cLock to use the new Weather APILuis Vidal2016-04-2224-1672/+1195
| | | | | | | | | | | | | | | - Content provider was removed - Weather sources (Yahoo and OpenWeatherMap) were removed. Those providers will reside in their own package. - cLock was refactored to use the Weather API to process weather updates and city name disambiguation - cLock will let the active weather service provider decide whether back to back requests are OK. In other words, cLock does not enforce the 10 min wait period between requests anymore TICKET: CYNGNOS-2116 Change-Id: I87ccd5727013dbbd7e96ce0a8e3d4f766f823072
* Display humidity and wind data in forecast dialogMartin Herndl2016-04-172-3/+18
| | | | | | WeatherInfo already has the data and it just needed to be exposed Change-Id: I8819ad0cd3d0798b1bd6ae50fbc2769922d63748
* Automatic translation importMichael Bestas2016-04-165-18/+225
| | | | Change-Id: Idcf4e30f2a382b35d9bd7161d3eed0430f95f6be
* Automatic translation importMichael Bestas2016-04-063-59/+107
| | | | Change-Id: I3282860b36e01c7db8346424bb04929b2a719554
* Automatic translation importMichael Bestas2016-03-286-158/+5
| | | | Change-Id: I6401af62db8e48254baab30f1305db6f4fa46a66
* Automatic translation importMichael Bestas2016-03-1718-16/+1261
| | | | Change-Id: I0e8808aef705b6a0ee78f1870a5d414db9be64a4
* LockClock : Add external facing permission grant activityDanesh M2016-03-142-0/+81
| | | | | | Needed by SystemUI when toggling status bar weather. CYNGNOS-2222 Change-Id: I693938fcc87f12d77f8e9245dfb8456925103797
* Automatic translation importMichael Bestas2016-03-0593-50/+3496
| | | | Change-Id: Id7d309c8d092e38cee2fc9fda6fb0fb0fb199d86
* Automatic translation importMichael Bestas2016-02-2217-20/+35
| | | | Change-Id: Ic0e991e5e25b7a3707de69b2ed9d563b763bafaf
* LockClock: Enable all calendars during first time setupKhalid Zubair2016-02-202-2/+12
| | | | | | | | Calendars added later have to be manually enabled by the user. CYNGNOS-2062, CYNGNOS-1871 Change-Id: Ib43a920ce350347af41a8f32f59f581bd3c0e236
* Don't warn about webkitniks2552016-02-201-0/+8
| | | | | | When JACK is disabled with ANDROID_FORCE_JACK_ENABLED flag, ProGuard throws warnings about webkit and build fails. Disable those warnings. Change-Id: I3da7eb3ef870a2e83e04497665dae8006965263d
* LockClock: Disable event calendars dialog if no calendarsKhalid Zubair2016-02-182-0/+10
| | | | | | | | | Instead of showing an empty dialog, disable the preference and change the text when no calendars are available. CYNGNOS-2062 Change-Id: I5dbc71828448427053bb5f1b73b585e77b67581a
* LockClock: fix crash in calendar selectionKhalid Zubair2016-02-181-0/+2
| | | | | | | | | | onResume() was not updating the list of calendars when permission was already granted. This change fixes a NPE when clicking on the pref with null entries. CYNGNOS-1871 Change-Id: I3b690262087a0a22322c627214c27c3b64da5855
* LockClock : Switch over to new yahoo location apiDanesh M2016-02-151-22/+14
| | | | | | | geo.placefinder is no longer available. https://developer.yahoo.com/forums/#/discussion/7844/yql-geo-placefinder-is-now-shutdown%3D Change-Id: Iff949b2e28f1938265dd8074b6e332317e10f0e0
* Automatic translation importMichael Bestas2016-02-144-31/+31
| | | | Change-Id: I60ec6ea13fc9d0240b56155f0aa6397b3ea2b1b4
* Automatic translation importMichael Bestas2016-02-024-1/+356
| | | | Change-Id: I428cf924a67a270366334d967b0298e4c9684b39
* Automatic translation importMichael Bestas2016-01-253-0/+46
| | | | Change-Id: Iec3866255fca700a461dca56a98f715785b94b66
* LockClock : Update to v23 + runtime permissionsDanesh M2016-01-156-13/+128
| | | | | | CYNGNOS-1559 Change-Id: Iaefe9de0a77251b3a2d0f772405ca1d1cdb73630
* Automatic translation importMichael Bestas2016-01-1111-26/+892
| | | | Change-Id: I72681db3cc62bedbf09295d765355babe4024803
* Automatic translation importMichael Bestas2015-12-2511-583/+149
| | | | Change-Id: I11f58bbf509efc59cb85b06a0e23cfa84e8250be
* manifest: Enable LockClock preferences to show in LeanBack Settings rowdhacker292015-12-031-0/+1
| | | | Change-Id: I013ca01d9937a812dc055fe991503a216e343bde
* LockClock : Add api key for open weatherDanesh M2015-11-031-3/+6
| | | | | | | CYNGNOS-1227 Change-Id: Ie4f166bf2f841a679e272268bc943ff37e71f2a8 (cherry picked from commit d2d601f6979d7a5dc3c9dd645a94be89ad7d8849)
* LockClock: Update proguard for play services 8115000cretin452015-10-232-4/+26
| | | | Change-Id: I592cc22dded005c40922b0cc0a577a434d325f47
* Automatic translation importMichael Bestas2015-10-032-0/+4
| | | | Change-Id: I4948c77ea5d97ee382f0ca3ae9d70852645980b5
* Automatic translation importMichael Bestas2015-09-244-0/+10
| | | | Change-Id: I3aaa0b1fd2e5f8b7412ce8c243e58e4e5ec063b1
* LockClock: Force ltr on clock display.Adnan Begovic2015-09-144-0/+4
| | | | | Ticket: CYNGNOS-1002 Change-Id: I039cd718d75c983219b395edaa63c7dbee35bc5a