Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1. Adds ShadowVibrator#addSupportedPrimitives to enable #6907

Merged
merged 1 commit into from Dec 6, 2021

Conversation

copybara-service[bot]
Copy link

  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 VibrationEffectSegments in ShadowVibrator and exposes a getter to
    enable verification of VibrationEffect created by
    VibrationEffect#startComposition.

   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
@hoisie hoisie merged commit dc20cf6 into master Dec 6, 2021
@hoisie hoisie deleted the piper_413689184 branch December 6, 2021 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant