diff options
| author | Lais Andrade <lsandrade@google.com> | 2020-11-16 20:02:19 +0000 |
|---|---|---|
| committer | Lais Andrade <lsandrade@google.com> | 2020-12-04 16:24:31 +0000 |
| commit | 9e755fb3fe4ac8fdd6b86387daeebed28529dd24 (patch) | |
| tree | 70df277d787c26f20e947270f5566f185f125535 /services/java/com/android/server | |
| parent | c9991d0a93c888efe20d39c6d4ea095aeb3ef69a (diff) | |
Implement setAlwaysOn to IVibratorManagerService
This implementation supports synced CombinedVibrationEffect instances
with prebaked effects only.
This implementation adds some vibration checks from VibratorService to
VibratorManager, and wires the implementation of VibratorController
native service to IVibratorManager.
Bug: 167946816
Bug: 131311651
Test: atest FrameworksServiceTests:VibratorManagerServiceTest
Change-Id: I8da10c7903e91bba30b11fe46515121858fb5211
Diffstat (limited to 'services/java/com/android/server')
| -rw-r--r-- | services/java/com/android/server/SystemServer.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 6525e1126478..92c64f822b78 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -1252,6 +1252,10 @@ public final class SystemServer implements Dumpable { mSystemServiceManager.startService(DropBoxManagerService.class); t.traceEnd(); + t.traceBegin("StartVibratorManagerService"); + mSystemServiceManager.startService(VibratorManagerService.Lifecycle.class); + t.traceEnd(); + t.traceBegin("StartVibratorService"); vibrator = new VibratorService(context); ServiceManager.addService("vibrator", vibrator); |
