diff options
| author | 2019-02-04 12:24:17 -0800 | |
|---|---|---|
| committer | 2019-02-04 12:24:17 -0800 | |
| commit | d76074a44a2a34fdece72555188bd61625fd9b0c (patch) | |
| tree | b5e0ecd2ef3eec824b01d4f83af1d3ed10b1be48 | |
| parent | affa55b49baebce7ae1b8bb893e015379df83a49 (diff) | |
SurfaceView: Check correct OPAQUE flag for background visibility.
No explanation beyond: Typo.
Bug: 123644326
Test: Manual
Change-Id: I2c2cf9eb441fd92703189e5566d70c07b048373c
| -rw-r--r-- | core/java/android/view/SurfaceView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/SurfaceView.java b/core/java/android/view/SurfaceView.java index ecbec652fcf0..cd5207c50d1d 100644 --- a/core/java/android/view/SurfaceView.java +++ b/core/java/android/view/SurfaceView.java @@ -492,7 +492,7 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb if (mBackgroundControl == null) { return; } - if ((mSurfaceFlags & PixelFormat.OPAQUE) != 0) { + if ((mSurfaceFlags & SurfaceControl.OPAQUE) != 0) { mBackgroundControl.show(); mBackgroundControl.setLayer(Integer.MIN_VALUE); } else { |