updating android docs to use the right methods in code snippets

Summary:
- Updating code snippets in the android integration docs which use methods that no longer exist in the [ReactInstanceManager](https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java) class
Closes https://github.com/facebook/react-native/pull/11070

Differential Revision: D4220830

Pulled By: JoelMarcey

fbshipit-source-id: 0dfc49accc27feb42ac31fb50c887736e652ec1b
This commit is contained in:
Abhijit Nukalapati 2016-11-22 11:08:38 -08:00 committed by Facebook Github Bot
parent aa85408f56
commit db20b97dfb
1 changed files with 3 additions and 3 deletions

View File

@ -675,7 +675,7 @@ protected void onPause() {
super.onPause();
if (mReactInstanceManager != null) {
mReactInstanceManager.onPause(this);
mReactInstanceManager.onHostPause(this);
}
}
@ -684,7 +684,7 @@ protected void onResume() {
super.onResume();
if (mReactInstanceManager != null) {
mReactInstanceManager.onResume(this, this);
mReactInstanceManager.onHostResume(this, this);
}
}
@ -693,7 +693,7 @@ protected void onDestroy() {
super.onDestroy();
if (mReactInstanceManager != null) {
mReactInstanceManager.onDestroy();
mReactInstanceManager.onHostDestroy();
}
}
```