Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e5c3458 authored by Christopher Tate's avatar Christopher Tate Committed by Chris Tate
Browse files

Extend startForegroundService() fg transition timeout to 10 seconds

Change-Id: I5e09205218e5ddb2ff536f7f5c20ac31c0c03bb1
Fixes: 80309073
Test: atest CtsAndroidAppTestCases
parent a8464603
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;