Skip to content

Commit

Permalink
Run HeapAnalyzer in app process
Browse files Browse the repository at this point in the history
  • Loading branch information
crehmann committed Sep 6, 2017
1 parent 1be44b3 commit 7719f24
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.10'
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ private int computeIgnoredBitmapRetainedSize(Snapshot snapshot, Instance leaking
if (bitmapSize < bufferSize) {
bitmapSize += bufferSize;
}
bitmapRetainedSize += bitmapSize;
bitmapRetainedSize = (int) (bitmapRetainedSize + bitmapSize);
}
}
return bitmapRetainedSize;
Expand Down
1 change: 0 additions & 1 deletion leakcanary-android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<application>
<service
android:name=".internal.HeapAnalyzerService"
android:process=":leakcanary"
android:enabled="false"
/>
<service
Expand Down

0 comments on commit 7719f24

Please sign in to comment.