commit | 2be4fdbfcd5f16bc12066d1ccac181bca3dfaa7a | [log] [tgz] |
---|---|---|
author | Justin Klaassen <justinklaassen@google.com> | Wed Aug 06 19:54:09 2014 -0700 |
committer | Justin Klaassen <justinklaassen@google.com> | Thu Aug 07 10:26:39 2014 -0700 |
tree | c6bc90b7f5c4f52218e9655172772408ddbb180f | |
parent | bf3ad49a16d027b7e584789e444d6b0b73945a2d [diff] |
Preserve/restore calculator instance state Bug: 15597963 Bug: 16850193 - Manage tokenizer instance at activity level so it is re-created on locale changes. - Preserve normalized form of expression in instance state and restore/evaluate on activity creation. - Remove selection hack from CalculatorEditText since setting a selection makes TextView save instance state and it no longer appears necessary. Change-Id: Ic15924f4026ec45b4775b36568c3cdc46443cca8