package io.branch.branchandroiddemo;

//import com.squareup.leakcanary.LeakCanary;

import io.branch.referral.Branch;
import io.branch.referral.BranchApp;

public final class CustomBranchApp extends BranchApp {
    @Override
    public void onCreate() {
        super.onCreate();
        Branch.enableSimulateInstalls();
        // Uncomment to test memory leak
        // LeakCanary.install(this);
    }
}

@@ -1,8 +1,9 @@
+%0A
 package 
@@ -82,42 +82,8 @@
 y;%0A%0A
-import io.branch.referral.Branch;%0A
 impo
@@ -244,49 +244,8 @@
 ();%0A
-        Branch.enableSimulateInstalls();%0A
     

Update CustomBranchApp.java