Commit 11e78276 authored by Ajay Nadathur's avatar Ajay Nadathur Committed by Ajay Kumar Nadathur Sreenivasan
Browse files

[SetupWizard] Learn more link is not working in fingerprint screen

- TextView.setMovementMethod internally calls setText(CharSequence).
  We were calling setMovementMethod before setting the text. 'mText' is
  passed as the first parameter to setText(CharSequence) by
  the caller: setMovementMethod. Since mText at
  that point was null, hasLinks(CharSequence) returns false. As a
  result, the movementMethod is set to 'null'. mMovement being
  null, touch events was not handled by the TextView

- Fixed the problem by moving super.setText to the beginning of the
  method.

Testing:
--------
 - Verified on Angler

bug:29036596
Change-Id: I2df8c04289ff7d6c71a9636d04276b5034dc3f5c
parent d9a2a2c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment