@@ -58,9 +58,6 @@ protected void updateUI() {
5858 mBinding .showConsoleSwitch .setOnCheckedChangeListener (mConsoleLogsListener );
5959 setConsoleLogs (SettingsStore .getInstance (getContext ()).isConsoleLogsEnabled (), false );
6060
61- mBinding .multiprocessSwitch .setOnCheckedChangeListener (mMultiprocessListener );
62- setMultiprocess (SettingsStore .getInstance (getContext ()).isMultiprocessEnabled (), false );
63-
6461 mBinding .performanceMonitorSwitch .setOnCheckedChangeListener (mPerformanceListener );
6562 setPerformance (SettingsStore .getInstance (getContext ()).isPerformanceMonitorEnabled (), false );
6663 // Hide Performance Monitor switch until it can handle multiple windows.
@@ -92,10 +89,6 @@ protected void updateUI() {
9289 setConsoleLogs (value , doApply );
9390 };
9491
95- private SwitchSetting .OnCheckedChangeListener mMultiprocessListener = (compoundButton , value , doApply ) -> {
96- setMultiprocess (value , doApply );
97- };
98-
9992 private SwitchSetting .OnCheckedChangeListener mPerformanceListener = (compoundButton , value , doApply ) -> {
10093 setPerformance (value , doApply );
10194 };
@@ -121,9 +114,7 @@ protected void updateUI() {
121114 if (mBinding .showConsoleSwitch .isChecked () != SettingsStore .CONSOLE_LOGS_DEFAULT ) {
122115 setConsoleLogs (SettingsStore .CONSOLE_LOGS_DEFAULT , true );
123116 }
124- if (mBinding .multiprocessSwitch .isChecked () != SettingsStore .MULTIPROCESS_DEFAULT ) {
125- setMultiprocess (SettingsStore .MULTIPROCESS_DEFAULT , true );
126- }
117+
127118 if (mBinding .servoSwitch .isChecked () != SettingsStore .SERVO_DEFAULT ) {
128119 setServo (SettingsStore .SERVO_DEFAULT , true );
129120 }
@@ -171,17 +162,6 @@ private void setConsoleLogs(boolean value, boolean doApply) {
171162 }
172163 }
173164
174- private void setMultiprocess (boolean value , boolean doApply ) {
175- mBinding .multiprocessSwitch .setOnCheckedChangeListener (null );
176- mBinding .multiprocessSwitch .setValue (value , false );
177- mBinding .multiprocessSwitch .setOnCheckedChangeListener (mMultiprocessListener );
178-
179- if (doApply ) {
180- SettingsStore .getInstance (getContext ()).setMultiprocessEnabled (value );
181- showRestartDialog ();
182- }
183- }
184-
185165 private void setUIHardwareAcceleration (boolean value , boolean doApply ) {
186166 mBinding .hardwareAccelerationSwitch .setOnCheckedChangeListener (null );
187167 mBinding .hardwareAccelerationSwitch .setValue (value , false );
0 commit comments