Move ORS command line into main thread
Also eliminate the mostly similar runPage function in favor of using a single runPages function to avoid code duplication. Change-Id: I46ef414beb4009fee16d4de13d8a5ab2b9678409
This commit is contained in:
@@ -566,7 +566,7 @@ void OpenRecoveryScript::Run_OpenRecoveryScript(void) {
|
||||
DataManager::SetValue("tw_complete_text1", "OpenRecoveryScript Complete");
|
||||
DataManager::SetValue("tw_has_cancel", 0);
|
||||
DataManager::SetValue("tw_show_reboot", 0);
|
||||
if (gui_startPage("action_page") != 0) {
|
||||
if (gui_startPage("action_page", 0, 1) != 0) {
|
||||
LOGERR("Failed to load OpenRecoveryScript GUI page.\n");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user