BREAKING: Android - ReactNativeHost getUseDeveloperSupport to public #2

Summary:
AaaChiuuu
See: https://github.com/facebook/react-native/pull/11329
Closes https://github.com/facebook/react-native/pull/11505

Differential Revision: D4338559

Pulled By: AaaChiuuu

fbshipit-source-id: 6cd1fd366a2bc30d496b7e907242e7f89a384a19
This commit is contained in:
John Shelley 2016-12-15 21:03:47 -08:00 committed by Facebook Github Bot
parent 4cb8a852a1
commit 901178d53c
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ public class MoviesApplication extends Application implements ReactApplication {
}
@Override
protected boolean getUseDeveloperSupport() {
public boolean getUseDeveloperSupport() {
return true;
}

View File

@ -39,7 +39,7 @@ public class TicTacToeApplication extends Application implements ReactApplicatio
}
@Override
protected boolean getUseDeveloperSupport() {
public boolean getUseDeveloperSupport() {
return true;
}

View File

@ -17,7 +17,7 @@ public class MainApplication extends Application implements ReactApplication {
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
@Override
protected boolean getUseDeveloperSupport() {
public boolean getUseDeveloperSupport() {
return BuildConfig.DEBUG;
}