Merge "SurfaceView: Correct inverted alpha detection condition." into oc-dev am: 3946916d56
am: 8296054d4e
Change-Id: Iaf35647355f48300199d888eb884a23750c0059b
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