Call module init helpers on debug builds
Reviewed By: SeyelentEco Differential Revision: D8879847 fbshipit-source-id: 812ff0098fc8e3c85ab0a33df5e4ade919209583
This commit is contained in:
committed by
Facebook Github Bot
parent
0244f15dab
commit
5b0e742fe6
@@ -25,7 +25,8 @@ public final class AndroidSonarClient {
|
||||
sConnectionThread = new SonarThread("SonarConnectionThread");
|
||||
sConnectionThread.start();
|
||||
|
||||
final Context app = context.getApplicationContext();
|
||||
final Context app =
|
||||
context.getApplicationContext() == null ? context : context.getApplicationContext();
|
||||
SonarClientImpl.init(
|
||||
sSonarThread.getEventBase(),
|
||||
sConnectionThread.getEventBase(),
|
||||
|
||||
Reference in New Issue
Block a user