diff options
author | Allan Wang <me@allanwang.ca> | 2018-03-21 17:36:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 17:36:53 -0400 |
commit | f1275cbc38f1819c852f810905c300ae8f64bba4 (patch) | |
tree | 794d0ffe19f09387d5979c710b1b4a6ffe24104d /app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt | |
parent | d36dfe98a52ced46c5106b28304ae5d245180a7f (diff) | |
download | frost-f1275cbc38f1819c852f810905c300ae8f64bba4.tar.gz frost-f1275cbc38f1819c852f810905c300ae8f64bba4.tar.bz2 frost-f1275cbc38f1819c852f810905c300ae8f64bba4.zip |
Update buildsdk (#808)
* Update changelog
* Add build sdk check
* Remove play store affiliate
* Ignore Overdraw
* Remove theme background
* Add back for transparent
* Fix restart button
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt index 16e23d53..118f7eac 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt @@ -7,6 +7,7 @@ import android.net.Uri import android.os.Bundle import android.widget.ImageView import ca.allanwang.kau.logging.KL +import ca.allanwang.kau.utils.buildIsLollipopAndUp import com.bugsnag.android.Bugsnag import com.bumptech.glide.request.RequestOptions import com.bumptech.glide.signature.ApplicationVersionSignature @@ -51,6 +52,11 @@ class FrostApp : Application() { .build()) override fun onCreate() { + if (!buildIsLollipopAndUp) { // not supported + super.onCreate() + return + } + FlowManager.init(FlowConfig.Builder(this) .withDatabase(CookiesDb.NAME, CookiesDb::class) .withDatabase(FbTabsDb.NAME, FbTabsDb::class) |