floating icon indicating copy to clipboard operation
floating copied to clipboard

Error on call floating.enable on AppLifecycleState.hidden

Open st3hz3r opened this issue 9 months ago • 1 comments

Hi. When I try to call floating.enable() on lifecycleState == AppLifecycleState.hidden, it throws an exception "Activity must be resumed to enter picture-in-picture". It works almost well on AppLifecycleState.incative, but the issue is triggering floating.enable() even if Quick Settings panel is shown. Any ideas how to use it exactly on hidden?

st3hz3r avatar May 02 '24 23:05 st3hz3r