Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore : changed target api to 29 #502

Merged
merged 1 commit into from
Sep 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jdk:
android:
components:
- tools
- android-28
- build-tools-28.0.3
- android-29
- build-tools-29.0.2
- platform-tools
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ class PreviewBadge : View {
this.ifMarquee = currentState.getBoolean(BUNDLE_MARQUEE)
this.badgeSpeed = currentState.getInt(BUNDLE_SPEED)
this.badgeMode = Mode.values()[currentState.getInt(BUNDLE_MODE)]
this.checkList = currentState.getParcelableArrayList(BUNDLE_CHECKLIST)
this.checkList = currentState.getParcelableArrayList(BUNDLE_CHECKLIST) ?: ArrayList()

countFrame = 0
lastFrame = 0

currentState = currentState.getParcelable(BUNDLE_STATE) as Parcelable
currentState.getParcelable<Parcelable>(BUNDLE_STATE)?.let { currentState = it }
}
super.onRestoreInstanceState(currentState)
}
Expand Down
6 changes: 3 additions & 3 deletions versions.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ext.versions = [:]

versions.compileSdk = 28
versions.buildTools = '28.0.3'
versions.compileSdk = 29
versions.buildTools = '29.0.2'
versions.minSdk = 21
versions.targetSdk = 28
versions.targetSdk = 29

versions.kotlin_version = '1.3.41'

Expand Down