Correctly report gc root leak status

We were incorrectly deciding that all GC Roots are "not leaking". That's only true for system classes.

Also, the GC root type wasn't reported, which made it hard to pin point why the reference was held.

Fixes #1447
6 files changed
tree: af2aa03af7e4274dbf3a5a9bd38b736b44d543ab
  1. .buildscript/
  2. .github/
  3. docs/
  4. gradle/
  5. leakcanary-analyzer/
  6. leakcanary-android/
  7. leakcanary-android-core/
  8. leakcanary-android-instrumentation/
  9. leakcanary-android-process/
  10. leakcanary-cli/
  11. leakcanary-haha/
  12. leakcanary-leaksentry/
  13. leakcanary-log/
  14. leakcanary-sample/
  15. leakcanary-watcher/
  16. .gitignore
  17. .travis.yml
  18. build.gradle
  19. checkstyle.xml
  20. gradle.properties
  21. gradlew
  22. LICENSE.txt
  23. mkdocs.yml
  24. README-1.6.md
  25. README.md
  26. settings.gradle
README.md

LeakCanary 🐤

A memory leak detection library for Android.

square.github.io/leakcanary

License

Copyright 2015 Square, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.