当前位置: 首页 > wzjs >正文

怎样做网站文件验证推广网站免费

怎样做网站文件验证,推广网站免费,自己做网站 需要会什么6,网站开发经费申请报告在 debug 版本上,可以在关机状态下,同时按 电源键 和 音量加键 进 recovery 。 user 版本上不行。 参考 使用 build 变体 debug 版本和 user 版本的差别之一就是 ro.debuggable 属性不同。 顺着这个思路追踪,找到 bootable/recovery/reco…

在 debug 版本上,可以在关机状态下,同时按 电源键 和 音量加键 进 recovery 。

user 版本上不行。

参考 使用 build 变体
debug 版本和 user 版本的差别之一就是 ro.debuggable 属性不同。
在这里插入图片描述

顺着这个思路追踪,找到 bootable/recovery/recovery.cpp

添加如下修改即可,

--- a/bootable/recovery/recovery.cpp
+++ b/bootable/recovery/recovery.cpp
@@ -130,6 +130,10 @@ static bool IsRoDebuggable() {return android::base::GetBoolProperty("ro.debuggable", false);}+// refer to device.mk , we have set user.enable.recovery=true
+static bool IsUserEnableRecovery() {
+  return android::base::GetBoolProperty("user.enable.recovery", false);
+}// Clear the recovery command and prepare to boot a (hopefully working) system,// copy our log file to cache as well (for the system to read). This function is
@@ -1272,7 +1276,7 @@ Device::BuiltinAction start_recovery(Device* device, const std::vector<std::stri// If this is an eng or userdebug build, then automatically// turn the text display on if the script fails so the error// message is visible.
-        if (IsRoDebuggable()) {
+        if (IsRoDebuggable() || IsUserEnableRecovery()) {ui->ShowText(true);}}else{
@@ -1389,7 +1393,7 @@ Device::BuiltinAction start_recovery(Device* device, const std::vector<std::stri// If this is an eng or userdebug build, automatically turn on the text display if no command// is specified. Note that this should be called before setting the background to avoid// flickering the background image.
-        if (IsRoDebuggable()) {
+        if (IsRoDebuggable() || IsUserEnableRecovery()) {ui->ShowText(true);}status = INSTALL_NONE;  // No command specified

为了不同 device 可复用,根据属性判断,如果其他客户也需要,在对应的 device.mk 里加上该属性就行。

http://www.dtcms.com/wzjs/521540.html

相关文章:

  • 北京网站设计推荐柚米咸阳seo公司
  • 企业网站模板湖南岚鸿模板上海网站优化公司
  • jsp做的网页是网站吗品牌seo推广咨询
  • 乐清建网站快速提升网站排名
  • 深圳如何做网站西安自助建站
  • 合肥公司门户网站制作济南seo小黑seo
  • 马鞍山网站建设海口百度seo公司
  • 宜布网网站谁做的搜索引擎网络推广方法
  • 博物馆网站做的最好的怎么建立网站卖东西
  • 十大图片素材网站怎么在百度上做推广上首页
  • 南京培训网站建设快速申请免费个人网站
  • 做ae好的网站有哪些怎样才能在百度上面做广告宣传
  • 网站伪静态化百度助手安卓版下载
  • 梁山做网站的公司网站推广120种方法
  • 静态网站托管平台网络广告的收费模式有哪些
  • 北京网站建设迈程网络免费做网站的网站
  • 做网站被抓关键词优化软件
  • 网站建设简运维 简历三只松鼠营销案例分析
  • 做公益网站赚钱吗b站在线观看人数在哪
  • 怎么用小旋风网站建设教程网络推广公司官网
  • 定西模板型网站建设河南优化网站
  • 免费网站建设品牌好杭州seo技术培训
  • 吴忠住房和城乡建设局网站西安seo外包优化
  • 网站建设工作总结范文济南seo怎么优化
  • 南宁网站制作指数分布
  • 中国新兴建设招聘网站宣传推广的十种方式
  • 商城网站建设服务手机怎么建网站
  • 做pc端网站渠道小程序免费制作平台
  • 安康免费做网站公司企业培训机构排名
  • 中国公路建设协会网站中视频自媒体账号注册下载