commit | 1fdbe1fb8b258fd0d87106e9a890724b7c910f70 | [log] [tgz] |
---|---|---|
author | Jin Cao <jinyan@google.com> | Tue Aug 19 13:51:26 2014 -0700 |
committer | Jin Cao <jinyan@google.com> | Thu Aug 28 13:18:45 2014 -0700 |
tree | 737cc01c2ee133b8b2524158f48d5af36cc2c701 | |
parent | 4628591c01ade5a2806a42e18f0b63f3bfd6656b [diff] |
Only run htmlToSpan task if the body wasn't restored If the system restored our EditText by default, let's not override it by converting our saved HTML to Spanned because the framework's version will encompass everything we saved and more. Only do this for configuration change since we are ensured that the activity won't be destroyed. Also properly persist mTextChanged across screen rotations. b/16823273 b/17245535 Change-Id: Ib71cc2a240e4e77b08816a7e21a48548ae226b94