summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2017-12-30 00:23:46 (GMT)
committerMichael Bestas <mkbestas@lineageos.org>2018-01-21 20:21:12 (GMT)
commitadf77d30cf0d294654bfbb70367fdfe34d93a875 (patch)
treeb4b51a2171effb9f6c8f7aa7a9ae99a240e5d9e4
parent5a1dea102f058ef1e8a194a39d43f7131312bfac (diff)
downloadandroid_packages_apps_YahooWeatherProvider-adf77d30cf0d294654bfbb70367fdfe34d93a875.zip
android_packages_apps_YahooWeatherProvider-adf77d30cf0d294654bfbb70367fdfe34d93a875.tar.gz
android_packages_apps_YahooWeatherProvider-adf77d30cf0d294654bfbb70367fdfe34d93a875.tar.bz2
Rebrand for Lineage SDKstaging/lineage-15.1lineage-16.0
Change-Id: I4f70fa62db38f29a279d8cc3082b61aa08ab48fd
-rw-r--r--app/build.gradle2
-rw-r--r--app/src/main/AndroidManifest.xml10
-rw-r--r--app/src/main/java/org/lineageos/yahooweatherprovider/ConverterUtils.java14
-rw-r--r--app/src/main/java/org/lineageos/yahooweatherprovider/YahooWeatherProviderService.java14
-rw-r--r--app/src/main/java/org/lineageos/yahooweatherprovider/yahoo/YahooWeatherRequestCallback.java2
-rw-r--r--app/src/main/java/org/lineageos/yahooweatherprovider/yahoo/YahooWeatherResponseListener.java2
6 files changed, 22 insertions, 22 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 4edd31f..e94da63 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -23,7 +23,7 @@ android {
dependencies {
compile 'com.squareup.retrofit2:retrofit:2.0.1'
compile 'com.squareup.retrofit2:converter-gson:2.0.1'
- compile 'org.cyanogenmod:platform.sdk:5.+'
+ compile 'org.lineageos:platform.sdk:8.+'
compile 'com.squareup.okhttp3:okhttp:3.2.0'
compile 'com.squareup.dagger:dagger-compiler:1.2.2'
compile 'com.squareup.okhttp3:logging-interceptor:3.0.1'
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 39426d0..9674674 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -18,9 +18,9 @@
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
- <uses-permission android:name="cyanogenmod.permission.ACCESS_WEATHER_MANAGER" />
+ <uses-permission android:name="lineageos.permission.ACCESS_WEATHER_MANAGER" />
- <uses-feature android:name="org.cyanogenmod.weather" android:required="true" />
+ <uses-feature android:name="org.lineageos.weather" android:required="true" />
<application
android:name="org.lineageos.yahooweatherprovider.YahooCMWeatherApplication"
@@ -35,13 +35,13 @@
android:label="@string/app_name"/>
<service android:name="org.lineageos.yahooweatherprovider.YahooWeatherProviderService"
- android:permission="cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE">
+ android:permission="lineageos.permission.BIND_WEATHER_PROVIDER_SERVICE">
<intent-filter>
- <action android:name="cyanogenmod.weatherservice.WeatherProviderService" />
+ <action android:name="lineageos.weatherservice.WeatherProviderService" />
</intent-filter>
<meta-data
- android:name="cyanogenmod.weatherservice"
+ android:name="lineageos.weatherservice"
android:resource="@xml/weather_settings_service" />
</service>
diff --git a/app/src/main/java/org/lineageos/yahooweatherprovider/ConverterUtils.java b/app/src/main/java/org/lineageos/yahooweatherprovider/ConverterUtils.java
index 650aca4..def35b8 100644
--- a/app/src/main/java/org/lineageos/yahooweatherprovider/ConverterUtils.java
+++ b/app/src/main/java/org/lineageos/yahooweatherprovider/ConverterUtils.java
@@ -27,14 +27,14 @@ import org.lineageos.yahooweatherprovider.yahoo.response.Postal;
import java.util.ArrayList;
import java.util.List;
-import cyanogenmod.providers.WeatherContract;
-import cyanogenmod.weather.WeatherInfo;
-import cyanogenmod.weather.WeatherLocation;
+import lineageos.providers.WeatherContract;
+import lineageos.weather.WeatherInfo;
+import lineageos.weather.WeatherLocation;
-import static cyanogenmod.providers.WeatherContract.WeatherColumns.WeatherCode.ISOLATED_THUNDERSHOWERS;
-import static cyanogenmod.providers.WeatherContract.WeatherColumns.WeatherCode.NOT_AVAILABLE;
-import static cyanogenmod.providers.WeatherContract.WeatherColumns.WeatherCode.SCATTERED_SNOW_SHOWERS;
-import static cyanogenmod.providers.WeatherContract.WeatherColumns.WeatherCode.SCATTERED_THUNDERSTORMS;
+import static lineageos.providers.WeatherContract.WeatherColumns.WeatherCode.ISOLATED_THUNDERSHOWERS;
+import static lineageos.providers.WeatherContract.WeatherColumns.WeatherCode.NOT_AVAILABLE;
+import static lineageos.providers.WeatherContract.WeatherColumns.WeatherCode.SCATTERED_SNOW_SHOWERS;
+import static lineageos.providers.WeatherContract.WeatherColumns.WeatherCode.SCATTERED_THUNDERSTORMS;
public class ConverterUtils {
diff --git a/app/src/main/java/org/lineageos/yahooweatherprovider/YahooWeatherProviderService.java b/app/src/main/java/org/lineageos/yahooweatherprovider/YahooWeatherProviderService.java
index 11e46f8..6b3ef91 100644
--- a/app/src/main/java/org/lineageos/yahooweatherprovider/YahooWeatherProviderService.java
+++ b/app/src/main/java/org/lineageos/yahooweatherprovider/YahooWeatherProviderService.java
@@ -48,13 +48,13 @@ import java.util.Locale;
import javax.inject.Inject;
-import cyanogenmod.providers.WeatherContract;
-import cyanogenmod.weather.RequestInfo;
-import cyanogenmod.weather.WeatherInfo;
-import cyanogenmod.weather.WeatherLocation;
-import cyanogenmod.weatherservice.ServiceRequest;
-import cyanogenmod.weatherservice.ServiceRequestResult;
-import cyanogenmod.weatherservice.WeatherProviderService;
+import lineageos.providers.WeatherContract;
+import lineageos.weather.RequestInfo;
+import lineageos.weather.WeatherInfo;
+import lineageos.weather.WeatherLocation;
+import lineageos.weatherservice.ServiceRequest;
+import lineageos.weatherservice.ServiceRequestResult;
+import lineageos.weatherservice.WeatherProviderService;
import retrofit2.Call;
public class YahooWeatherProviderService extends WeatherProviderService
diff --git a/app/src/main/java/org/lineageos/yahooweatherprovider/yahoo/YahooWeatherRequestCallback.java b/app/src/main/java/org/lineageos/yahooweatherprovider/yahoo/YahooWeatherRequestCallback.java
index 4e82aaf..a069fd2 100644
--- a/app/src/main/java/org/lineageos/yahooweatherprovider/yahoo/YahooWeatherRequestCallback.java
+++ b/app/src/main/java/org/lineageos/yahooweatherprovider/yahoo/YahooWeatherRequestCallback.java
@@ -20,7 +20,7 @@ import android.util.Log;
import org.lineageos.yahooweatherprovider.yahoo.response.YQLResponse;
-import cyanogenmod.weatherservice.ServiceRequest;
+import lineageos.weatherservice.ServiceRequest;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
diff --git a/app/src/main/java/org/lineageos/yahooweatherprovider/yahoo/YahooWeatherResponseListener.java b/app/src/main/java/org/lineageos/yahooweatherprovider/yahoo/YahooWeatherResponseListener.java
index 657ae6e..d8f3725 100644
--- a/app/src/main/java/org/lineageos/yahooweatherprovider/yahoo/YahooWeatherResponseListener.java
+++ b/app/src/main/java/org/lineageos/yahooweatherprovider/yahoo/YahooWeatherResponseListener.java
@@ -18,7 +18,7 @@ package org.lineageos.yahooweatherprovider.yahoo;
import org.lineageos.yahooweatherprovider.yahoo.response.YQLResponse;
-import cyanogenmod.weatherservice.ServiceRequest;
+import lineageos.weatherservice.ServiceRequest;
public interface YahooWeatherResponseListener {