summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/cyanogenmod/WeatherServiceSettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Add option to select temperature unitLuis Vidal2016-05-061-126/+236
| | | | | | | | | | | | | Added a menu in the weather settings to select the temperature unit. This setting will be visible only if the user has at least one weather service provider installed. The weather settings layout was refactored to make room for this new preference Change-Id: I5e9f206573e0ff95fcee31a010b52530a907acc6 TICKET: CYNGNOS-2605
* Simplify and improve dream, LLS and weather provider layouts.Danny Baumann2016-04-271-4/+3
| | | | | | | In particular, make sure the selection ripple extends to the edges of the screen. Change-Id: Ie5694dfea8fd14810895581e4e7daef15c8890c3
* Prevent crash if weather settings activity can't be foundLuis Vidal2016-04-151-4/+20
| | | | | | | | | | | | | | Each weather provider service may define a settings activity which will be automatically launched when the user selects the provider. If such activity can't be found, an ActivityNotFoundException is thrown. This patch adds a try/catch block to avoid crashing the settings app if the activity can't be found A toast will be displayed to notify the user. Otherwise, the user would never know why the settings gear is doing nothing Change-Id: I3c3d54ce8f9131353077c34a2f821ec6b0fc0268 TICKET: CYNGNOS-2478
* Add Weather Content Provider [2/5]Luis Vidal2016-03-311-0/+343
Introduce a new entry in the settings menu to select the available weather provider services. This entry will be parked in the System category between Date&Time and Accessibility Change-Id: Ida230f3be72eb575a2b09504c99eaa16851c99f8