aboutsummaryrefslogtreecommitdiffstats
path: root/sdk
Commit message (Collapse)AuthorAgeFilesLines
...
* Weather API: Return ID rather than RequestInfo [1/2]Luis Vidal2016-04-138-171/+180
| | | | | | | | | | | | | | | | | | | Instead of exposing the RequestInfo object created by the WeatherMgr return an ID to identify the request. This ID can be later used to cancel the request if needed. The WeatherProviderService base class keeps track of the ongoing requests and can map this ID to the corresponding request This patch also include the following minor changes: - Use List instead of ArrayList in API - Update javadoc to public methods to reflect API changes - Use UUID random generator in immutable classes to generate the hashcode rather than relying solely in the hashcode of the builder object. Change-Id: Ib88dd0ecddd6fdb016b77ac29709fbae092dea29 TICKET: CYNGNOS-2425 TICKET: CYNGNOS-2423
* cmsdk: Refactoring LiveDisplaySteve Kondik2016-04-136-4/+773
| | | | | | | | | * Moving LiveDisplay to CMSDK! * Completely redesigned the feature for future expansion. * No new features in this patch, but a proper API is being designed. Change-Id: Ic8f55678f9141bf3386b2a1cf2fd1e8b3916c278
* cmsdk: compile as aarRoman Birg2016-04-121-0/+21
| | | | | | | | | for common resources TICKET: CYNGNOS-2305 Change-Id: Idc1872b5fa3884754b49b08d2f8381f18fba234d Signed-off-by: Roman Birg <roman@cyngn.com> Signed-off-by: Adnan Begovic <adnan@cyngn.com>
* LLS: Deprecate collapseNotificationPanel [1/2]d34d2016-04-122-5/+5
| | | | | | | | collapseNotificationPanel is no longer applicable with the updated UX so deprecate it and document that it will essentially be a no-op Change-Id: I285bb48e3a9ffec8d554f880edf17e5105c94018 TICKET: CYNGNOS-2392
* Fix nomenclature for RequestInfo types [1/2]Luis Vidal2016-04-082-24/+38
| | | | | | | | | | - Renamed TYPE_GEO_LOCATION_REQ to TYPE_WEATHER_BY_GEO_LOCATION_REQ and TYPE_WEATHER_LOCATION_REQ to TYPE_WEATHER_BY_WEATHER_LCATION_REQ - Prevent null argument on setter methods. Documentation updated to warn user of IllegalArgumentException if null is passed Change-Id: I6ba8fb7fb3a10d8c964414b58e00d9ce77a74e84 TICKET: CYNGNOS-2377
* Refactor WeatherInfo classLuis Vidal2016-04-083-108/+222
| | | | | | | | | | | | | | | | | | | | | - Builder constructor takes now 3 args: city name, temp and temp unit. This is the minimun data that a weather service should provide when a weather update request is processed. - Float members have been changed to double. Setter/getter methods updated. - New setter/getter methods have been added to set current day high and low temp. Forecast list should be used only to provide weather forecast for upcoming days (this has been clearly documented). WeatherContract was updated to include these 2 new columns - Added javadoc to all public methods - Timestamp is not longer required in constructor. A new method setTimestamp has been added Change-Id: Ia1edcfef0e2268f3881fed076c6ad74a81ca7334 TICKET: CYNGNOS-2365 TICKET: CYNGNOS-2382 TICKET: CYNGNOS-2356 TICKET: CYNGNOS-2360
* Add state member to WeatherLocation classLuis Vidal2016-04-081-9/+81
| | | | | | | | | | | | | Some weather service providers might require an additional state (territory) field to better identify a location, so a new field has been added to WeatherLocation class to hold this data. This patch also adds javadoc to public methods TICKET: CYNGNOS-2384 Change-Id: I927f58d436f044df3c8af496b0f27e017f5e73e3
* Add API to cancel an active weather requestLuis Vidal2016-04-075-13/+76
| | | | | | | | | | | | | | | | Add new API cancelRequest to CMWeatherManager. This will allow clients to cancel a request that was previuosly submitted to the weather service. As part of this change, requestWeatherUpdate(weatherLocation), requestWeatherUpdate(Location) and lookupCity(cityName) will now return the RequestInfo object created if the request was successfully submitted to the weather manager service TICKET: CYNGNOS-2383 TICKET: CYNGNOS-2385 Change-Id: Ic122f91e0ea8a24d81dbed48741ef1e33567b56c
* cmsdk: Actually return the system property in Build.Adnan Begovic2016-04-061-2/+6
| | | | | TICKET: CYNGNOS-2379 Change-Id: I7c7f3726b34db2b26d63fb4ef95df469fdf7e989
* cmsdk: Introduce Fig, api level 6.Adnan Begovic2016-04-012-1/+7
| | | | | Change-Id: I2916b1462c1f0b9582f4fefac82f60c20f820b85 TICKET: CYNGNOS-2303
* cmsdk: Add release notes for api level 5.Adnan Begovic2016-04-011-1/+18
| | | | Change-Id: I2ba738197286ce8f5128b08a6a800e06ec321822
* cmsdk: Move sdk classes under new sdk directory.Adnan Begovic2016-04-01101-0/+22133
TICKET: CYNGNOS-2299 Change-Id: Ia6c6a1ee901f4f94446c379cbceabfdfced651ef