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

简约好看的网站建设电商网站的总结

简约好看的网站,建设电商网站的总结,藁城网站建设哪家好,杭州建设工程招标网新址前言 Android 12系统休眠时,需要不管接什么型号usb tp都能够触摸唤醒。 Android12系统中,usb tp要能够触摸唤醒,需要在frameworks/native/services/inputflinger/reader/mapper/TouchInputMapper.cpp中将mParameters.wake赋值为true&#xff…
前言

 Android 12系统休眠时,需要不管接什么型号usb tp都能够触摸唤醒。

Android12系统中,usb tp要能够触摸唤醒,需要在frameworks/native/services/inputflinger/reader/mapper/TouchInputMapper.cpp中将mParameters.wake赋值为true,才能够在系统休眠的时候,触摸usb tp唤醒系统。(在TouchInputMapper.cpp中mParameters.wake的值是由getDeviceContext().isExternal();决定的,getDeviceContext().isExternal();是通过EventHub.cpp中的bool EventHub::Device::isExternalDeviceLocked()获得的。这个函数是通过读取对应tp idc文件中的device.internal属性来决定的。)我们现在要求所有的usb tp的能够触摸唤醒,只需按如下修改即可:

Index: reader/mapper/TouchInputMapper.cpp
===================================================================
--- reader/mapper/TouchInputMapper.cpp  (revision 2066)
+++ reader/mapper/TouchInputMapper.cpp  (working copy)
@@ -508,7 +508,7 @@// Initial downs on external touch devices should wake the device.// Normally we don't do this for internal touch screens to prevent them from waking// up in your pocket but you can enable it using the input device configuration.
-    mParameters.wake = getDeviceContext().isExternal();
+    mParameters.wake = true;getDeviceContext().getConfiguration().tryGetProperty(String8("touch.wake"), mParameters.wake);}

 

09-20 21:45:13.715   664   818 I InputReader: Disabling eGalax Inc. eGalaxTouch P80H84 2331 v00_T1 k4.10.143 (device 3) because the associated viewport is not active

 修改方法

@@ -664,12 +664,12 @@return;}-    if (!newViewport->isActive) {
-        ALOGI("Disabling %s (device %i) because the associated viewport is not active",
-              getDeviceName().c_str(), getDeviceId());
-        mDeviceMode = DeviceMode::DISABLED;
-        return;
-    }
+    // if (!newViewport->isActive) {
+        // ALOGI("Disabling %s (device %i) because the associated viewport is not active",
+              // getDeviceName().c_str(), getDeviceId());
+        // mDeviceMode = DeviceMode::DISABLED;
+        // return;
+    // }// Raw width and height in the natural orientation.int32_t rawWidth = mRawPointerAxes.getRawWidth();

 

http://www.yayakq.cn/news/933375/

相关文章:

  • linux怎么做网站哈尔滨网站建设网络优化
  • 工程建设招标中心网站微商推广哪家好
  • 网站建站报告2000字培训网站设计师
  • 网站域名解析河源市seo网站设计
  • 给网站做seo诊断网站建设软件排行
  • 网站外链出售青海项目信息网
  • 锦州建设银行网站上海大都会app官网下载
  • 建设网站 教学反思wordpress中文企业主题 下载地址
  • 阳江网站设计平顶山做网站的公司
  • 外贸网站建设昆明个人静态网页制作教程
  • dede怎么设置wap网站新产品推广策划方案
  • 衡水做网站报价seo推广绩效考核指标是什么
  • 网网站制作信息流优化师简历
  • 宋家庄网站建设网站主机空间用哪个好
  • 一级a做爰片就在线手机看韩国网站中国住房和城乡建设部网站建造师
  • 网站设计模版免费下载南京网站开发就业培训课程
  • 赣州网上房地产官网seo积分系统
  • 太原网站推广服务太湖云建站网站建设
  • 淮安网站建设个人博客网站建设报价单 下载
  • 医疗网站怎么做推广网络营销与直播电商怎么样
  • 永兴网站开发软件手机站
  • 关于做好全国网站建设建设网站的价格分析
  • 申请一个网站企业网站建立意义何在
  • 阿里巴巴注册网站首页国外好看的网站设计
  • 一个新的网站怎么做SEO优化网站备案密码找回
  • 怎么做网站优化 sit黑龙江省建设集团有限公司网站首页
  • 单位建网站wordpress封装
  • 专门做cos的网站友情链接分析
  • 鹤岗北京网站建设盐亭网站建设
  • 广安哪里有做网站的公司广东省建设八大员网站