binder interfaces can't be compared directly
we always need to compare their binder Change-Id: I70d554ebc5009fe81e87923235f91451f32e1a30
This commit is contained in:
parent
c21fc05af7
commit
111b2d8922
@ -934,7 +934,7 @@ void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags)
|
||||
} else {
|
||||
// this display is in both lists. see if something changed.
|
||||
const DisplayDeviceState& state(curr[j]);
|
||||
if (state.surface != draw[i].surface) {
|
||||
if (state.surface->asBinder() != draw[i].surface->asBinder()) {
|
||||
// changing the surface is like destroying and
|
||||
// recreating the DisplayDevice
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user