Extend startForegroundService() fg transition timeout to 10 seconds

Change-Id: I5e09205218e5ddb2ff536f7f5c20ac31c0c03bb1
Fixes: 80309073
Test: atest CtsAndroidAppTestCases
This commit is contained in:
Christopher Tate
2018-05-25 13:12:12 -07:00
committed by Chris Tate
parent a8464603ed
commit 5e5c345899

View File

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