package anaware.leakcanarysample;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.squareup.leakcanary.RefWatcher;

public class AnotherActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_another);
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        RefWatcher refWatcher = MyApplication.getRefWatcher(this);
        refWatcher.watch(this);
    }
}
@@ -371,16 +371,91 @@
 nother);
+%0A%0A        // Invoke the GC to accelerate the analysis.%0A        System.gc();
 %0A    %7D%0A%0A

Call GC to accelerate the analysis