commit | f143ace3aa80227b7612c0a9428b2de996c4920a | [log] [tgz] |
---|---|---|
author | James Cook <jamescook@google.com> | Mon Mar 02 13:27:51 2015 -0800 |
committer | James Cook <jamescook@google.com> | Mon Mar 02 13:27:51 2015 -0800 |
tree | 559751567baddb7d4d3540180e4227cbc220922b | |
parent | f63a665f92fe13f8f9d8eb58cf0987616cade9b5 [diff] |
Fix crash in UndoManager after parceling TextView UndoOwner maintains a manual reference count of the number of undo operations it is associated with, but this count is not restored (and hence becomes zero) when UndoManager is parceled and unparceled. This can cause the count to underflow on subsequent text editing. A test for this will land separately in CTS. Bug: 19568283 Change-Id: Ic50890828db9679c7cef805388957d66dc75422d