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
Loading
Please sign in to comment