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

Commits on Dec 6, 2021

  1. 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
    Googler authored and hoisie committed Dec 6, 2021
    Copy the full SHA
    26bc30a View commit details
    Browse the repository at this point in the history