Decrease PackageManagerService wait time for vold
Up the blocking queue maximum to twice the number of containers we allow which should let "asec list" complete without blocking the thread several times. Change the threads for the NativeDaemonConnector to vold and netd to be more descriptive instead of the same name. Bug: 2501075 Change-Id: I7e7949845a6c70a3d619aec0fa79ceef3c17a4be
This commit is contained in:
@@ -55,6 +55,8 @@ class NetworkManagementService extends INetworkManagementService.Stub {
|
||||
|
||||
private static final String TAG = "NetworkManagmentService";
|
||||
|
||||
private static final String NETD_TAG = "NetdConnector";
|
||||
|
||||
class NetdResponseCode {
|
||||
public static final int InterfaceListResult = 110;
|
||||
public static final int TetherInterfaceListResult = 111;
|
||||
@@ -101,8 +103,8 @@ class NetworkManagementService extends INetworkManagementService.Stub {
|
||||
}
|
||||
|
||||
mConnector = new NativeDaemonConnector(
|
||||
new NetdCallbackReceiver(), "netd", 10, "NetdConnector");
|
||||
Thread thread = new Thread(mConnector, NativeDaemonConnector.class.getName());
|
||||
new NetdCallbackReceiver(), "netd", 10, NETD_TAG);
|
||||
Thread thread = new Thread(mConnector, NETD_TAG);
|
||||
thread.start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user