diff --git a/docs/getting-started.md b/docs/getting-started.md index 452e25df1..f4900bd81 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -44,7 +44,7 @@ public class MyApplication extends Application { public void onCreate() { super.onCreate(); - if (BuildConfig.DEBUG && SonarUtils.isMainProcess(mApplicationContext)) { + if (BuildConfig.DEBUG && SonarUtils.shouldEnableSonar(this)) { final SonarClient client = AndroidSonarClient.getInstance(this); client.addPlugin(new MySonarPlugin()); client.start();