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

Skip to content
Commit 1fd8ea75 authored by Andrei Stingaceanu's avatar Andrei Stingaceanu
Browse files

TextView - lazy GestureDetector creation for ClickableSpans

Moves the ClickableSpan GestureDetector creation into
TextView#onTouchEvent only on ACTION_DOWN if a ClickableSpan
was targeted. This allows constructing TextViews outside the
UI Thread.

Bug: 30929474
Change-Id: I7f4442f0faee51d3c395fbde1ce32bdf909a18fb
parent c233963e
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