Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Adds
ShadowVibrator#addSupportedPrimitives
to enable
shadowing of `Vibrator#areAllPrimitivesSupported`. 2. Creates `ShadowVibrator#mHandler` using main looper to avoid getting `null` from `Looper#myLooper` in some occasions. 3. Stores `VibrationEffectSegment`s in `ShadowVibrator` and exposes a getter to enable verification of `VibrationEffect` created by `VibrationEffect#startComposition`. PiperOrigin-RevId: 413689184
- Loading branch information