diff options
| author | 2019-02-04 22:34:43 +0000 | |
|---|---|---|
| committer | 2019-02-04 22:34:43 +0000 | |
| commit | b031e8e7cb36326a1ba32b988de69fafd596c959 (patch) | |
| tree | a32cbd8ee97d1f2b67bdffab8dea1ed4801069fa | |
| parent | aed477d58a178dfa8c63755b17d9d0407b916347 (diff) | |
| parent | d76074a44a2a34fdece72555188bd61625fd9b0c (diff) | |
Merge "SurfaceView: Check correct OPAQUE flag for background visibility."
| -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 { |