admin 管理员组

文章数量: 1184232

7.1以前的代码是在u-boot下面,11.0 以后再bootable/recovery/recovery.cpp

--- a/bootable/recovery/recovery.cpp
+++ b/bootable/recovery/recovery.cpp
@@ -421,7 +421,7 @@ static Device::BuiltinAction PromptAndWait(Device* device, InstallResult status)
       headers = { "WARNING: Previous installation has failed.",
                   "  Your device may fail to boot if you reboot or power off now." };
     }
-
+/*
     size_t chosen_item = ui->ShowMenu(
         headers, device->GetMenuItems(), 0, false,
         std::bind(&Device::HandleMenuKey, device, std::placeholders::_1, std::placeholders::_2));
@@ -435,6 +435,8 @@ static Device::BuiltinAction PromptAndWait(Device* device, InstallResult status)
         (chosen_item == static_cast<size_t>(R

本文标签: 按下 时长