diff options
author | Luis Vidal <lvidal@cyngn.com> | 2016-04-06 18:07:31 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-04-08 10:55:44 -0700 |
commit | 06d5c89c437cd9a25078c10c5198bf67c789902e (patch) | |
tree | 7122864a3ab8720551dd376cae2de80f2a616f89 /system-api | |
parent | 81268bd12cb8c320b01e80ee64fe944e1311d232 (diff) | |
download | vendor_cmsdk-06d5c89c437cd9a25078c10c5198bf67c789902e.tar.gz vendor_cmsdk-06d5c89c437cd9a25078c10c5198bf67c789902e.tar.bz2 vendor_cmsdk-06d5c89c437cd9a25078c10c5198bf67c789902e.zip |
Add state member to WeatherLocation class
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
Diffstat (limited to 'system-api')
-rw-r--r-- | system-api/cm_system-current.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system-api/cm_system-current.txt b/system-api/cm_system-current.txt index a00cf44..4c39eec 100644 --- a/system-api/cm_system-current.txt +++ b/system-api/cm_system-current.txt @@ -1391,6 +1391,7 @@ package cyanogenmod.weather { method public java.lang.String getCountry(); method public java.lang.String getCountryId(); method public java.lang.String getPostalCode(); + method public java.lang.String getState(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherLocation> CREATOR; } @@ -1400,6 +1401,7 @@ package cyanogenmod.weather { method public cyanogenmod.weather.WeatherLocation build(); method public cyanogenmod.weather.WeatherLocation.Builder setCountry(java.lang.String, java.lang.String); method public cyanogenmod.weather.WeatherLocation.Builder setPostalCode(java.lang.String); + method public cyanogenmod.weather.WeatherLocation.Builder setState(java.lang.String); } } |