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

Commit e5478e5e authored by Evan Severson's avatar Evan Severson
Browse files

Remove text selection toolbar timeout

A timeout exists that assumes that if the toolbar hasn't been dismissed
by the client after a fixed 10 minutes then the toolbar is invalid and
can be evicted from the cache. It is more correct to clear when the
client no longer exists.

It was also found that quick tests were able to sometimes trigger the
toolbar to attempt to show with a null ViewRootImpl; it's unclear how
this happened but the view is not in a state to show the toolbar so exit
early.

Test: CtsWidgetTestCases
Fixes: 413215561
Bug: 363318732
Flag: android.permission.flags.system_selection_toolbar_enabled
Change-Id: Ic74ca4f029d9aaa7a44fac4d9927fdc4f5bd8e2b
parent 81506a52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment