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

Commit f983d084 authored by Svet Ganov's avatar Svet Ganov Committed by Svetoslav Ganov
Browse files

Increase bind remote print spooler timeout for eng builds.

bug:17734729

Change-Id: I70bfe3b64fca24752cf3efc225b21d5453e53b68
parent 0660042a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Binder;
import android.os.Build;
import android.os.IBinder;
import android.os.ParcelFileDescriptor;
import android.os.RemoteException;
@@ -55,7 +56,8 @@ final class RemotePrintSpooler {

    private static final boolean DEBUG = false;

    private static final long BIND_SPOOLER_SERVICE_TIMEOUT = 10000;
    private static final long BIND_SPOOLER_SERVICE_TIMEOUT =
            ("eng".equals(Build.TYPE)) ? 120000 : 10000;

    private final Object mLock = new Object();