Merge "SurfaceView: Correct inverted alpha detection condition." into oc-dev
am: 3946916d56
Change-Id: Ia2d5ff30183d8588319dc4aa24f5512f3db75e55
This commit is contained in:
@@ -454,7 +454,7 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
|
||||
}
|
||||
|
||||
private void updateOpaqueFlag() {
|
||||
if (PixelFormat.formatHasAlpha(mRequestedFormat)) {
|
||||
if (!PixelFormat.formatHasAlpha(mRequestedFormat)) {
|
||||
mSurfaceFlags |= SurfaceControl.OPAQUE;
|
||||
} else {
|
||||
mSurfaceFlags &= ~SurfaceControl.OPAQUE;
|
||||
|
||||
Reference in New Issue
Block a user