From 34bf4866db96a1b250edc05e6e0b0fdb296f0aae Mon Sep 17 00:00:00 2001 From: Luis Vidal Date: Fri, 8 Apr 2016 13:19:48 -0700 Subject: 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 --- api/cm_current.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api') 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 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 { -- cgit v1.1