mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Use a wider safety margin to allow for scheduler delays.
This commit is contained in:
@@ -33,7 +33,7 @@ class AndroidWakeLockFactoryImpl implements AndroidWakeLockFactory {
|
||||
* Automatically release the lock this many milliseconds after it's due
|
||||
* to have been replaced and released.
|
||||
*/
|
||||
private static final long SAFETY_MARGIN_MS = SECONDS.toMillis(10);
|
||||
private static final long SAFETY_MARGIN_MS = SECONDS.toMillis(30);
|
||||
|
||||
private final SharedWakeLock sharedWakeLock;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user