Skip to content

Commit

Permalink
Merge pull request #274 from NightlyNexus/patch-1
Browse files Browse the repository at this point in the history
Do nothing with Application from LC process.
  • Loading branch information
JakeWharton authored Mar 3, 2017
2 parents a33de58 + f1ee34c commit fd65983
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/jakewharton/u2020/U2020App.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public final class U2020App extends Application {

@Override public void onCreate() {
super.onCreate();
if (LeakCanary.isInAnalyzerProcess(this)) {
return;
}
AndroidThreeTen.init(this);
LeakCanary.install(this);

Expand Down

0 comments on commit fd65983

Please sign in to comment.