Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0aaed5a6 authored by Yeabkal Wubshit's avatar Yeabkal Wubshit
Browse files

Make ScrollFeedbackProvider APIs Public

This change cleans up the existing ScrollFeedbackProvider APIs and
makes them public. As we plan to use these APIs in Compose as well, this
change adds a variant for each API method that takes the raw motion
properties (instead of a MotionEvent, since MotionEvent is not
necessarily accessible from Compose).

Unit tests have been added to the new APIs. These tests are mostly the
exact same tests as the ones existing for the MotionEvent-based APIs,
just with different arguments.

The APIs are launched as a flagged API.

Bug: 299213080
Test: atest HapticScrollFeedbackProviderTest
Test: CTS tests added

Change-Id: I6de611cd34d103ee4f208d421c31b7a3233f2d7c
parent a06518bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment