Support resumes without overriding the back handler
Differential Revision: D6982515 fbshipit-source-id: 5483f6c677c6653e51f6311386f31f5be6ed0e00
This commit is contained in:
parent
828cd78866
commit
c281f7a3ae
|
@ -545,6 +545,16 @@ public class ReactInstanceManager {
|
|||
UiThreadUtil.assertOnUiThread();
|
||||
|
||||
mDefaultBackButtonImpl = defaultBackButtonImpl;
|
||||
onHostResume(activity);
|
||||
}
|
||||
|
||||
/**
|
||||
* Use this method when the activity resumes.
|
||||
*/
|
||||
@ThreadConfined(UI)
|
||||
public void onHostResume(Activity activity) {
|
||||
UiThreadUtil.assertOnUiThread();
|
||||
|
||||
mCurrentActivity = activity;
|
||||
|
||||
if (mUseDeveloperSupport) {
|
||||
|
|
Loading…
Reference in New Issue