mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 16:14:40 +00:00
The embedded surface forwarding taps but cancelling drags was a known bug in androidx.privacysandbox.ui alpha10: with the provider surface z-ordered above, "the gesture is exclusively received by the provider window and not transferred to the client window" (alpha13 release notes). alpha15 then "set the default Z-ordering to below" and "added support for the UI provider to receive MotionEvents in this mode after being received by the client window" — i.e. the drag-input path we needed. Bump alpha10 → alpha17 and adapt the changed API: openSession takes SessionData instead of a windowInputToken IBinder, Session adds notifySessionRendered, and the session-state listener became setEventListener(SandboxedSdkViewEventListener) (ready now flips on onUiDisplayed). The direct-WebView browser is unaffected (it doesn't use this library). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MgMpRcWj6y82LxLiwcuzmN