Revert last four commits (#2337)

Revert last four commits
This commit is contained in:
happywillow0 2020-03-01 19:03:22 -05:00 committed by GitHub
parent 18f0c3c221
commit 08907a0896
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -3,14 +3,14 @@ language: android
android:
components:
- build-tools-29.0.2
- android-29
- android-27
- extra-android-m2repository
- extra-google-m2repository
- extra-android-support
licenses:
- android-sdk-license-.+
before_install:
- yes | sdkmanager "platforms;android-29" # workaround for accepting the license
- yes | sdkmanager "platforms;android-27" # workaround for accepting the license
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
openssl aes-256-cbc -K $encrypted_5ba4ee4c096f_key -iv $encrypted_5ba4ee4c096f_iv -in "$PWD/.travis/secrets.tar.enc" -out secrets.tar -d;
tar xf secrets.tar;

View File

@ -1,5 +1,5 @@
android {
compileSdkVersion 29
compileSdkVersion 27
buildToolsVersion '29.0.2'
buildTypes {
@ -30,7 +30,7 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 29
targetSdkVersion 27
applicationIdSuffix pkgNameSuffix
versionCode extVersionCode
versionName "$libVersion.$extVersionCode"

View File

@ -2,12 +2,12 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 29
compileSdkVersion 27
buildToolsVersion '29.0.2'
defaultConfig {
minSdkVersion 16
targetSdkVersion 29
targetSdkVersion 27
versionCode 1
versionName '1.0.0'
}

View File

@ -246,7 +246,7 @@ open class NewToki(override val name: String, private val defaultBaseUrl: String
screen.addPreference(baseUrlPref)
}
private fun getPrefBaseUrl(): String = preferences.getString(BASE_URL_PREF, defaultBaseUrl)!!
private fun getPrefBaseUrl(): String = preferences.getString(BASE_URL_PREF, defaultBaseUrl)
companion object {
private const val BASE_URL_PREF_TITLE = "Override BaseUrl"