安全模式:恢复出厂删除文件操作修复
authorpenglei <1624952103@qq.com>
Thu, 12 Sep 2024 07:31:31 +0000 (15:31 +0800)
committerpenglei <1624952103@qq.com>
Thu, 12 Sep 2024 07:31:31 +0000 (15:31 +0800)
code/sdk/application/wearable/fd230app/nativeui/safemodemanager/src/SafeModeManagerPresenter.cpp

index a6c88ff..ef832a8 100644 (file)
@@ -95,7 +95,6 @@ bool SafeModeManagerPresenter::OnClick(UIView &view, const ClickEvent &event) {
   if (strcmp(view.GetViewId(), FACTORY_RESET_SAFE) == 0) {
     /*恢复出厂*/
     SafeModeManagerModel::GetInstance()->FactorySet();
-    uapi_reboot_device();
   }
   if (strcmp(view.GetViewId(), RESOURCE_CHECK) == 0) {
     /*资源校验*/