Merge "SurfaceFlinger: Fix a typo." into honeycomb-mr1

This commit is contained in:
Jamie Gennis
2011-03-18 17:32:25 -07:00
committed by Android (Google) Code Review

View File

@@ -809,7 +809,7 @@ status_t Layer::ClientRef::setToken(const sp<UserClient>& uc,
{ // scope for strong mUserClient reference
sp<UserClient> userClient(mUserClient.promote());
if (mUserClient != 0 && mControlBlock != 0) {
if (userClient != 0 && mControlBlock != 0) {
mControlBlock->setStatus(NO_INIT);
}
}