commit | bd992109e08d0435a474f6350a4c39098a3f6e40 | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Thu Mar 04 20:00:39 2021 +0000 |
committer | Lais Andrade <lsandrade@google.com> | Thu Mar 18 11:03:45 2021 +0000 |
tree | f399e0fc6e46746f06960caccd14ae57445da35d | |
parent | 1193abc020e52631214c9226a2c894831b62c249 [diff] |
Introduce VibrationEffectSegment Create a new parcelable VibrationEffectSegment in the new package android.os.vibrator, together with three concrete implementations for the segment types: step, prebaked and primitive. Remove all implementations of VibrationEffect to allow composition of any effects, represented now by the concrete type VibrationEffect that holds a list of segments. Bug: 167947076 Test: VibrationEffectTest Change-Id: I79c99e29f436ed77558af764f55633bb4636e034