Merge "Introduce SystemVibratorManager" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ba4fa60b35
@@ -1291,7 +1291,6 @@ public final class SystemServer implements Dumpable {
|
||||
t.traceBegin("startOtherServices");
|
||||
|
||||
final Context context = mSystemContext;
|
||||
VibratorService vibrator = null;
|
||||
DynamicSystemService dynamicSystem = null;
|
||||
IStorageManager storageManager = null;
|
||||
NetworkManagementService networkManagement = null;
|
||||
@@ -1417,11 +1416,6 @@ public final class SystemServer implements Dumpable {
|
||||
mSystemServiceManager.startService(VibratorManagerService.Lifecycle.class);
|
||||
t.traceEnd();
|
||||
|
||||
t.traceBegin("StartVibratorService");
|
||||
vibrator = new VibratorService(context);
|
||||
ServiceManager.addService("vibrator", vibrator);
|
||||
t.traceEnd();
|
||||
|
||||
t.traceBegin("StartDynamicSystemService");
|
||||
dynamicSystem = new DynamicSystemService(context);
|
||||
ServiceManager.addService("dynamic_system", dynamicSystem);
|
||||
@@ -2490,14 +2484,6 @@ public final class SystemServer implements Dumpable {
|
||||
|
||||
// It is now time to start up the app processes...
|
||||
|
||||
t.traceBegin("MakeVibratorServiceReady");
|
||||
try {
|
||||
vibrator.systemReady();
|
||||
} catch (Throwable e) {
|
||||
reportWtf("making Vibrator Service ready", e);
|
||||
}
|
||||
t.traceEnd();
|
||||
|
||||
t.traceBegin("MakeLockSettingsServiceReady");
|
||||
if (lockSettings != null) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user