am 5e5bed60
: Merge "DO NOT MERGE Make sure surfaces always have latest orientation info" into jb-mr2-dev
* commit '5e5bed60d03b5556ada351b010ed14ae8f1515ae': DO NOT MERGE Make sure surfaces always have latest orientation info
This commit is contained in:
commit
27ff54dbb4
@ -1245,17 +1245,22 @@ void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags)
|
|||||||
if (disp == NULL) {
|
if (disp == NULL) {
|
||||||
disp = hw;
|
disp = hw;
|
||||||
} else {
|
} else {
|
||||||
disp = getDefaultDisplayDevice();
|
disp = NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (disp != NULL) {
|
if (disp == NULL) {
|
||||||
// presumably this means this layer is using a layerStack
|
// NOTE: TEMPORARY FIX ONLY. Real fix should cause layers to
|
||||||
// that is not visible on any display
|
// redraw after transform hint changes. See bug 8508397.
|
||||||
layer->updateTransformHint(disp);
|
|
||||||
|
// could be null when this layer is using a layerStack
|
||||||
|
// that is not visible on any display. Also can occur at
|
||||||
|
// screen off/on times.
|
||||||
|
disp = getDefaultDisplayDevice();
|
||||||
}
|
}
|
||||||
|
layer->updateTransformHint(disp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user