Merge "Fixed to call computeVisibleRegions() when transparent value changed"
This commit is contained in:
commit
56b79aa816
@ -93,6 +93,9 @@ bool LayerBuffer::needsBlending() const {
|
||||
}
|
||||
|
||||
void LayerBuffer::setNeedsBlending(bool blending) {
|
||||
if (mNeedsBlending != blending) {
|
||||
mFlinger->invalidateLayerVisibility(this);
|
||||
}
|
||||
mNeedsBlending = blending;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user