Merge "Extend startForegroundService() fg transition timeout to 10 seconds" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3ec17d31c5
@@ -119,7 +119,7 @@ public final class ActiveServices {
|
||||
|
||||
// How long the startForegroundService() grace period is to get around to
|
||||
// calling startForeground() before we ANR + stop it.
|
||||
static final int SERVICE_START_FOREGROUND_TIMEOUT = 5*1000;
|
||||
static final int SERVICE_START_FOREGROUND_TIMEOUT = 10*1000;
|
||||
|
||||
final ActivityManagerService mAm;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user