Skip to content

Commit

Permalink
Lce leak fix (sockeqwe#170)
Browse files Browse the repository at this point in the history
* Removed error onClickListener to avoid potential leak

* Leak fix on LCE

* Fix build gradle

* Update travis

* Update travis

* Update travis

* Update travis
  • Loading branch information
leonardo2204 authored and sockeqwe committed Oct 25, 2016
1 parent d1d83bc commit a95b516
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
language: android
android:
components:
- build-tools-23.0.1
- tools
- build-tools-23.0.3
- extra-android-m2repository
- android-23
before_install:
- chmod +x .buildscript/deploy_snapshot.sh
jdk:
- oraclejdk8
licenses:
- android-sdk-license-.+
- android-sdk-license-c81a61d9
env:
global:
- MALLOC_ARENA_MAX=2
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.android.tools.build:gradle:2.2.1'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.7'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlinVersion"
Expand Down Expand Up @@ -36,7 +36,7 @@ allprojects {
ext {
minSdk = 14
targetSdk = 23
buildToolsVersion = '23.0.1'
buildToolsVersion = '23.0.3'
compileSdkVersion = 23

javaSourceCompatibility = JavaVersion.VERSION_1_7
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun May 29 15:58:08 CEST 2016
#Mon Oct 24 14:39:35 BRST 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ protected void animateErrorViewIn() {
super.onDestroyView();
loadingView = null;
contentView = null;
errorView.setOnClickListener(null);
errorView = null;
}
}

0 comments on commit a95b516

Please sign in to comment.