commit | 05289c2b78d21308a95ea6ef8f1d8f24359147cd | [log] [tgz] |
---|---|---|
author | Pablo Ceballos <pceballos@google.com> | Thu Apr 14 15:49:55 2016 -0700 |
committer | Pablo Ceballos <pceballos@google.com> | Thu Apr 14 16:01:23 2016 -0700 |
tree | 4f17199a81080babed45f380464b21e205fb0c57 | |
parent | 9ffa1a4da16edc23067070f5605917ddd57739e8 [diff] |
SF: Don't pop pending state into mCurrentState Let mCurrentState always represent the most up to date state, even if there are transactions we don't want to commit yet. Past snapshots of the state are kept in mPendingState. In doTransaction(), grab the correct pending state from mPendingState, but save it to a local copy that gets committed rather than overriding mCurrentState. Bug 27205755 Change-Id: Ib0ea809da1954409787c52b8f41d7963a57a6a4c