aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorLuis Vidal <lvidal@cyngn.com>2016-04-06 18:07:31 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-04-08 10:55:44 -0700
commit06d5c89c437cd9a25078c10c5198bf67c789902e (patch)
tree7122864a3ab8720551dd376cae2de80f2a616f89 /api
parent81268bd12cb8c320b01e80ee64fe944e1311d232 (diff)
downloadvendor_cmsdk-06d5c89c437cd9a25078c10c5198bf67c789902e.zip
vendor_cmsdk-06d5c89c437cd9a25078c10c5198bf67c789902e.tar.gz
vendor_cmsdk-06d5c89c437cd9a25078c10c5198bf67c789902e.tar.bz2
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 'api')
-rw-r--r--api/cm_current.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/cm_current.txt b/api/cm_current.txt
index a00cf44..4c39eec 100644
--- a/api/cm_current.txt
+++ b/api/cm_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);
}
}