修改方案:

--- a/frameworks/base/services/core/java/com/android/server/power/WirelessChargerDetector.java+++ b/frameworks/base/services/core/java/com/android/server/power/WirelessChargerDetector.java@@ -76,7 +76,10 @@ final class WirelessChargerDetector {      // The minimum amount of time to spend watching the sensor before making     // a determination of whether movement occurred.-    private static final long SETTLE_TIME_MILLIS = 800;+    /*meig:jicong.wang modify for bug 10001 & 9982 start {@*/+    //private static final long SETTLE_TIME_MILLIS = 800;+    private static final long SETTLE_TIME_MILLIS = 200;+    /*meig:jicong.wang modify for bug 10001 & 9982 end @}*/      // The sensor sampling interval.     private static final int SAMPLING_INTERVAL_MILLIS = 50;

更多相关文章

  1. Eclipse中使用Ant打Android包报错解决方案 – Perhaps JAVA_HOME
  2. Android中关于android:imeOptions="actionSearch"使用android:ma
  3. Android 默认全面屏适配方案
  4. Android 主题切换/换肤方案 研究(一) - 知乎
  5. android兼容huawei手机刘海屏解决方案
  6. android兼容oppo手机刘海屏解决方案
  7. android兼容小米xiaomi刘海屏解决方案

随机推荐

  1. Android(安卓)自定义Progress Bar
  2. FragmentTabhost记录
  3. A Visual Guide to Android(安卓)GUI Wid
  4. Android(安卓)Location 和 Sensor的使用,
  5. Android(安卓)ListView的子项的随意拖动
  6. Android(安卓)解析excel文件
  7. Android(安卓)P(api28) 不支持 http 协议
  8. Android(安卓)Contacts(一)—— 读取联系人
  9. android 安卓创建文件夹
  10. android(3)(android五大布局)