Removed Throttle Manager as obsolete
Change-Id: I63e8514f34c880d0badaab33a347f54a80c84da6
This commit is contained in:
@@ -146,7 +146,6 @@ class ServerThread extends Thread {
|
||||
TwilightService twilight = null;
|
||||
UiModeManagerService uiMode = null;
|
||||
RecognitionManagerService recognition = null;
|
||||
ThrottleService throttle = null;
|
||||
NetworkTimeUpdateService networkTimeUpdater = null;
|
||||
CommonTimeManagementService commonTimeMgmtService = null;
|
||||
InputManagerService inputManager = null;
|
||||
@@ -510,15 +509,6 @@ class ServerThread extends Thread {
|
||||
reportWtf("starting Service Discovery Service", e);
|
||||
}
|
||||
|
||||
try {
|
||||
Slog.i(TAG, "Throttle Service");
|
||||
throttle = new ThrottleService(context);
|
||||
ServiceManager.addService(
|
||||
Context.THROTTLE_SERVICE, throttle);
|
||||
} catch (Throwable e) {
|
||||
reportWtf("starting ThrottleService", e);
|
||||
}
|
||||
|
||||
try {
|
||||
Slog.i(TAG, "UpdateLock Service");
|
||||
ServiceManager.addService(Context.UPDATE_LOCK_SERVICE,
|
||||
@@ -839,7 +829,6 @@ class ServerThread extends Thread {
|
||||
final ConnectivityService connectivityF = connectivity;
|
||||
final DockObserver dockF = dock;
|
||||
final UsbService usbF = usb;
|
||||
final ThrottleService throttleF = throttle;
|
||||
final TwilightService twilightF = twilight;
|
||||
final UiModeManagerService uiModeF = uiMode;
|
||||
final AppWidgetService appWidgetF = appWidget;
|
||||
@@ -951,11 +940,6 @@ class ServerThread extends Thread {
|
||||
} catch (Throwable e) {
|
||||
reportWtf("making Country Detector Service ready", e);
|
||||
}
|
||||
try {
|
||||
if (throttleF != null) throttleF.systemReady();
|
||||
} catch (Throwable e) {
|
||||
reportWtf("making Throttle Service ready", e);
|
||||
}
|
||||
try {
|
||||
if (networkTimeUpdaterF != null) networkTimeUpdaterF.systemReady();
|
||||
} catch (Throwable e) {
|
||||
|
||||
Reference in New Issue
Block a user