Increase the service bind timeout.
Bug: 305826147 Test: atest com.android.cts.net.HostsideRestrictBackgroundNetworkTests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4c137f7fa7827a9794165b86a5cc7ade85f017bf) Merged-In: I1840e091ebbc9812da56a3522e009ba67a18c476 Change-Id: I1840e091ebbc9812da56a3522e009ba67a18c476
This commit is contained in:
committed by
Android Build Cherrypicker Worker
parent
eb75416136
commit
bbe0b27ed8
@@ -27,7 +27,7 @@ import android.os.IBinder;
|
||||
import android.os.RemoteException;
|
||||
|
||||
public class MyServiceClient {
|
||||
private static final int TIMEOUT_MS = 5000;
|
||||
private static final int TIMEOUT_MS = 20_000;
|
||||
private static final String PACKAGE = MyServiceClient.class.getPackage().getName();
|
||||
private static final String APP2_PACKAGE = PACKAGE + ".app2";
|
||||
private static final String SERVICE_NAME = APP2_PACKAGE + ".MyService";
|
||||
|
||||
Reference in New Issue
Block a user