Fix Android getting started docs

Summary:
`SoLoader.init(Context, int)` isn't what we want as it can raise an `IOException` (checked) and implies exo-package. I suppose this was meant to be
`(Context, boolean)`.

Reviewed By: jknoxville

Differential Revision: D8512345

fbshipit-source-id: 7fad2a3788e64149fc02e3446db2c71412ccb43d
This commit is contained in:
Pascal Hartig
2018-06-19 06:02:41 -07:00
committed by Facebook Github Bot
parent 0768c9a43a
commit 2076fc8fd1

View File

@@ -43,7 +43,7 @@ public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
SoLoader.init(this, 0);
SoLoader.init(this, false);
if (BuildConfig.DEBUG && SonarUtils.shouldEnableSonar(this)) {
final SonarClient client = AndroidSonarClient.getInstance(this);