diff options
Diffstat (limited to 'libs/gui/LayerState.cpp')
| -rw-r--r-- | libs/gui/LayerState.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp index deb8ea8f7e..5a8d8dbc81 100644 --- a/libs/gui/LayerState.cpp +++ b/libs/gui/LayerState.cpp @@ -14,6 +14,8 @@ * limitations under the License. */ +#define LOG_TAG "LayerState" + #include <utils/Errors.h> #include <binder/Parcel.h> #include <gui/ISurfaceComposerClient.h> @@ -313,8 +315,10 @@ void layer_state_t::merge(const layer_state_t& other) { sidebandStream = other.sidebandStream; } - if (other.what != what) { - ALOGE("Unmerged SurfaceComposer Transaction properties. LayerState::merge needs updating?"); + if ((other.what & what) != other.what) { + ALOGE("Unmerged SurfaceComposer Transaction properties. LayerState::merge needs updating? " + "other.what=0x%X what=0x%X", + other.what, what); } } |