Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit edae5c07 authored by Ricki Hirner's avatar Ricki Hirner
Browse files

Update dependencies, lint

parent 1ed2d149
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ buildscript {
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.0'
        classpath 'com.android.tools.build:gradle:3.5.2'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
        classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:${versions.dokka}"
    }
@@ -29,7 +29,7 @@ apply plugin: 'org.jetbrains.dokka-android'

android {
    compileSdkVersion 29
    buildToolsVersion '29.0.1'
    buildToolsVersion '29.0.2'

    defaultConfig {
        minSdkVersion 14
+3 −2
Original line number Diff line number Diff line
@@ -91,9 +91,10 @@ class CustomCertManager @JvmOverloads constructor(
            }
        }

        if (Looper.myLooper() == Looper.getMainLooper())
        check(Looper.myLooper() != Looper.getMainLooper()) {
            // service is actually created after bindService() by code running in looper, so this would block
            throw IllegalStateException("must not be run on main thread")
            "must not be run on main thread"
        }

        Constants.log.fine("Binding to service")
        if (context.bindService(Intent(context, CustomCertService::class.java), newServiceConn, Context.BIND_AUTO_CREATE)) {