Make "Debug JS" dev menu option persist across app restarts on RN Android

Summary:
1. Make "Remote JS Debug" and "Start/Stop Profile" options persist across app restarts.
2. Check and confirm:
       - All options in the Android dev menu are persisted now.
       - The behavior is the same on Android and iOS now.

Reviewed By: mkonicek

Differential Revision: D3340097

fbshipit-source-id: 4087b6605031c650e164282244cedb006f8f6fd3
This commit is contained in:
Siqi Liu authored and Facebook Github Bot 8 committed 2016-05-27 09:58:27 -07:00
1 parent 8d4b15d253
commit 60e0d2c676
5 files changed
+50 -11

No files matched your search

@@ -36,4 +36,14 @@ public class ReactSettingsForTests implements DeveloperSettings {
public boolean isElementInspectorEnabled() {
return false;
}
@Override
public boolean isRemoteJSDebugEnabled() {
return false;
}
@Override
public void setRemoteJSDebugEnabled(boolean remoteJSDebugEnabled) {
}
}