mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
A quick fix for inital fb4a_debug launch crashes due to fetching string com.facebook.react.R.string.catalyst_sample_profiler_enable
Summary: Changelog: [Android][Internal] - a quick fix for inital fb4a_debug launch crashes due to fetching string `com.facebook.react.R.string.catalyst_sample_profiler_enable` Reviewed By: paveldudka Differential Revision: D33410712 fbshipit-source-id: f63e4b7e9aba3e79d4aa11983d68fee7341972bb
This commit is contained in:
committed by
Facebook GitHub Bot
parent
78614de1cb
commit
a03bd2f13e
+1
-5
@@ -99,11 +99,7 @@ public final class BridgeDevSupportManager extends DevSupportManagerBase {
|
||||
}
|
||||
|
||||
addCustomDevOption(
|
||||
mIsSamplingProfilerEnabled
|
||||
? applicationContext.getString(
|
||||
com.facebook.react.R.string.catalyst_sample_profiler_disable)
|
||||
: applicationContext.getString(
|
||||
com.facebook.react.R.string.catalyst_sample_profiler_enable),
|
||||
mIsSamplingProfilerEnabled ? "Disable Sampling Profiler" : "Enable Sampling Profiler",
|
||||
new DevOptionHandler() {
|
||||
@Override
|
||||
public void onOptionSelected() {
|
||||
|
||||
Reference in New Issue
Block a user