android 11.0去掉recovery模式UI页面的选项

在11.0进行定制化开发,会根据需要去掉recovery模式的一些选项 就是在device.cpp去掉一些选项就可以了

diff --git a/bootable/recovery/recovery_ui/device.cpp b/bootable/recovery/recovery_ui/device.cpp
old mode 100644
new mode 100755
index e7ae1a3e19..567610a55d
--- a/bootable/recovery/recovery_ui/device.cpp
+++ b/bootable/recovery/recovery_ui/device.cpp
@@ -27,17 +27,7 @@
 
 static std::vector<std::pair<std::string, Device::BuiltinAction>> g_menu_actions{
   
    
    
   {
   
    
     "Reboot system now", Device::REBOOT },
-  

猜你喜欢

转载自blog.csdn.net/baidu_41666295/article/details/124893890