Merge pull request #942 from maskaravivek/leaks

Fix Leaks in Nearby activity
This commit is contained in:
neslihanturan 2017-11-16 10:17:06 +03:00 committed by GitHub
commit 955b3f17a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 103 additions and 104 deletions

View file

@ -4,7 +4,8 @@ import com.squareup.leakcanary.RefWatcher;
// This class is automatically discovered by Robolectric
public class TestCommonsApplication extends CommonsApplication {
@Override protected RefWatcher setupLeakCanary() {
@Override
protected RefWatcher setupLeakCanary() {
// No leakcanary in unit tests.
return RefWatcher.DISABLED;
}