aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorLuis Vidal <lvidal@cyngn.com>2016-04-08 13:19:48 -0700
committerLuis Vidal <lvidal@cyngn.com>2016-04-08 13:19:48 -0700
commit34bf4866db96a1b250edc05e6e0b0fdb296f0aae (patch)
tree49fcf5da6aa1b50f149395780fa0edbd78d00084 /api
parentbaaf4a1bafb652b5d49e739e5378087144a6e410 (diff)
downloadvendor_cmsdk-34bf4866db96a1b250edc05e6e0b0fdb296f0aae.zip
vendor_cmsdk-34bf4866db96a1b250edc05e6e0b0fdb296f0aae.tar.gz
vendor_cmsdk-34bf4866db96a1b250edc05e6e0b0fdb296f0aae.tar.bz2
Fix nomenclature for RequestInfo types [1/2]
- 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
Diffstat (limited to 'api')
-rw-r--r--api/cm_current.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/cm_current.txt b/api/cm_current.txt
index 4242d32..b0e7678 100644
--- a/api/cm_current.txt
+++ b/api/cm_current.txt
@@ -1335,9 +1335,9 @@ package cyanogenmod.weather {
method public cyanogenmod.weather.WeatherLocation getWeatherLocation();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<cyanogenmod.weather.RequestInfo> CREATOR;
- field public static final int TYPE_GEO_LOCATION_REQ = 1; // 0x1
field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3
- field public static final int TYPE_WEATHER_LOCATION_REQ = 2; // 0x2
+ field public static final int TYPE_WEATHER_BY_GEO_LOCATION_REQ = 1; // 0x1
+ field public static final int TYPE_WEATHER_BY_WEATHER_LOCATION_REQ = 2; // 0x2
}
public final class WeatherInfo implements android.os.Parcelable {