Skip to content

Commit

Permalink
Release 1.2.1
Browse files Browse the repository at this point in the history
Fixed a bug for Android Oreo users introduced in the previous update.
  • Loading branch information
oliverschloebe committed Nov 11, 2017
1 parent d6d923d commit 272ba90
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ local.properties
.gradle/
build/
out/
app/release/

# Local configuration file
gradle.properties
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 27
versionCode 6
versionName "1.2.0"
versionCode 7
versionName "1.2.1"
}

compileOptions {
Expand All @@ -25,7 +25,7 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.0.0'
implementation 'com.android.support:appcompat-v7:27.0.1'

implementation 'com.uwetrottmann.seriesguide:seriesguide-api:2.0.0'
}
2 changes: 1 addition & 1 deletion app/release/output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":6},"path":"app-release.apk","properties":{"packageId":"de.schloebe.seriesguide.streamingfinder","split":"","minSdkVersion":"15"}}]
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":7},"path":"app-release.apk","properties":{"packageId":"de.schloebe.seriesguide.streamingfinder","split":"","minSdkVersion":"15"}}]
2 changes: 2 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@
</service>

<!-- Service component for backwards compatibility with API v1 -->
<!-- As the extension targets SDK 26+, disable it on O+ to avoid crash due to background restrictions. -->
<service
android:name="de.schloebe.seriesguide.streamingfinder.StreamingFinderExtension"
android:description="@string/app_name"
android:label="@string/app_name"
android:enabled="@bool/isNotOreoOrHigher"
tools:ignore="ExportedService">
<meta-data android:name="settingsActivity"
android:value=".SettingsActivity" />
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values-v26/bools.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="isNotOreoOrHigher">false</bool>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values/bools.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="isNotOreoOrHigher">true</bool>
</resources>

0 comments on commit 272ba90

Please sign in to comment.