From b260fe75c18e5cb4823654e031ea5a66e0eecdbb Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Wed, 26 Jan 2011 09:21:32 -0800 Subject: Increase the default timeout from 30 to 60 seconds. The DEFAULT_WAKE_LOCK_TIMEOUT should be longer than the timeouts of the vendor ril, aka. rild. We are seeing timeouts which are 30secs and possibly longer. An alternative would be to add TelephonyManager.PROPERTY_WAKE_LOCK_TIMEOUT for but I feel a 60 second default is appropriate for all platforms. Bug: 3392618 Change-Id: I63f6b211b584857999174524d4ea4efa1994dfba --- telephony/java/com/android/internal/telephony/RIL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'telephony') diff --git a/telephony/java/com/android/internal/telephony/RIL.java b/telephony/java/com/android/internal/telephony/RIL.java index 7506bb1..39bbd63 100644 --- a/telephony/java/com/android/internal/telephony/RIL.java +++ b/telephony/java/com/android/internal/telephony/RIL.java @@ -214,7 +214,7 @@ public final class RIL extends BaseCommands implements CommandsInterface { * Wake lock timeout should be longer than the longest timeout in * the vendor ril. */ - private static final int DEFAULT_WAKE_LOCK_TIMEOUT = 30000; + private static final int DEFAULT_WAKE_LOCK_TIMEOUT = 60000; //***** Instance Variables -- cgit v1.1