summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Pablo Ceballos <pceballos@google.com> 2016-04-14 15:49:55 -0700
committer Pablo Ceballos <pceballos@google.com> 2016-04-14 16:01:23 -0700
commit05289c2b78d21308a95ea6ef8f1d8f24359147cd (patch)
tree4f17199a81080babed45f380464b21e205fb0c57 /libs/gui/ConsumerBase.cpp
parent9ffa1a4da16edc23067070f5605917ddd57739e8 (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
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions