Skip to content

Commit

Permalink
Fix issue with wrong activity ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawnnypoo committed Aug 2, 2019
1 parent 45a4819 commit f69e575
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ jdk:

before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > "$ANDROID_HOME/licenses/android-sdk-license"

script: "./gradlew build"
script: "./gradlew build"
2 changes: 1 addition & 1 deletion lifeline/src/main/java/com/commit451/lifeline/Lifeline.kt
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ object Lifeline {
}

override fun onActivityDestroyed(activity: Activity) {
currentVisibleActivityRef = null
currentCreatedActivityRef = null
}

override fun onActivityResumed(activity: Activity) {
Expand Down

0 comments on commit f69e575

Please sign in to comment.