Commit baeafb8c authored by Siyamed Sinir's avatar Siyamed Sinir
Browse files

Added test for TextView/EditText behavior for freezesText

Added tests to verify the behavior of freezesText attribute during
onSaveInstanceState and onRestoreInstanceState for TextView an
EditText. It verifies:
- Always save the text for EditText
- Always save the selection if there are any.
- Do not save the text for TextView if freezesText is false.
- During onRestoreInstanceState if selection is out of the text
  boundaries, do not restore the selection.

Bug: 22076905
Change-Id: I50de729301a441125873797138506a8377b9f4c6
parent c4973ac6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment