Move the battery LED code over to the battery service from the notification service (!)
Change-Id: I12d7994ae245a36b8b2c3272fcbe173881caebd0
This commit is contained in:
@@ -170,13 +170,13 @@ class ServerThread extends Thread {
|
||||
Slog.i(TAG, "System Content Providers");
|
||||
ActivityManagerService.installSystemProviders();
|
||||
|
||||
Slog.i(TAG, "Battery Service");
|
||||
battery = new BatteryService(context);
|
||||
ServiceManager.addService("battery", battery);
|
||||
|
||||
Slog.i(TAG, "Lights Service");
|
||||
lights = new LightsService(context);
|
||||
|
||||
Slog.i(TAG, "Battery Service");
|
||||
battery = new BatteryService(context, lights);
|
||||
ServiceManager.addService("battery", battery);
|
||||
|
||||
Slog.i(TAG, "Vibrator Service");
|
||||
ServiceManager.addService("vibrator", new VibratorService(context));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user