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
This commit is contained in:
Wink Saville
2011-01-26 09:21:32 -08:00
parent 31e5c30f02
commit b260fe75c1

View File

@@ -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