Fix issue #25289999: Lower device idle alarm limit to 10 mins.
This helps with some cases where perisistent network connections need a more frequent keep alive signal. Actually make it 9 minutes to ensure that things needing a 10 minute cycle will execute within that time. Change-Id: Ife8c7b7f7f82b108d5a6c1624bd6115e6087c3be
This commit is contained in:
@@ -178,7 +178,7 @@ class AlarmManagerService extends SystemService {
|
||||
private static final long DEFAULT_MIN_FUTURITY = 5 * 1000;
|
||||
private static final long DEFAULT_MIN_INTERVAL = 60 * 1000;
|
||||
private static final long DEFAULT_ALLOW_WHILE_IDLE_SHORT_TIME = DEFAULT_MIN_FUTURITY;
|
||||
private static final long DEFAULT_ALLOW_WHILE_IDLE_LONG_TIME = 15*60*1000;
|
||||
private static final long DEFAULT_ALLOW_WHILE_IDLE_LONG_TIME = 9*60*1000;
|
||||
private static final long DEFAULT_ALLOW_WHILE_IDLE_WHITELIST_DURATION = 10*1000;
|
||||
|
||||
// Minimum futurity of a new alarm
|
||||
|
||||
Reference in New Issue
Block a user