Lawnchair: Fix weather preferences

This commit is contained in:
Pierre Rudloff 2018-09-29 13:40:02 +02:00
parent 48a9b35916
commit 59c835798f

View file

@ -72,7 +72,7 @@ Build:1.2.0.1884,1884
rm=app/src/main/java/ch/deletescape/lawnchair/weather/AwarenessWeatherAPI.kt
prebuild=sed -i -e '/play-services-awareness/d' build.gradle && \
sed -i -e '/AwarenessWeatherAPI/d' src/main/java/ch/deletescape/lawnchair/weather/WeatherAPI.kt && \
sed -i -e 's/PREF_WEATHER_PROVIDER_AWARENESS = "1"/PREF_WEATHER_PROVIDER_AWARENESS = "0"/' src/main/java/ch/deletescape/lawnchair/preferences/PreferenceFlags.kt && \
sed -i -e 's/PreferenceFlags.PREF_WEATHER_PROVIDER_AWARENESS/"0"/' src/main/java/ch/deletescape/lawnchair/preferences/PreferenceImpl.kt && \
sed -i -e 's/android:defaultValue="1"/android:defaultValue="0"/' src/main/res/xml/launcher_theme_preferences.xml
build=export TRAVIS=true && \
export MAJOR_MINOR=1.2.0 && \