修改方案:
--- 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;