mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Merge pull request #942 from maskaravivek/leaks
Fix Leaks in Nearby activity
This commit is contained in:
commit
955b3f17a4
5 changed files with 103 additions and 104 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue