commit | 086d2929f739ab217c38f99b76fd70f30dcfa478 | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Thu Jun 09 10:22:38 2016 -0700 |
committer | Robert Carr <racarr@google.com> | Fri Jun 10 15:57:08 2016 -0700 |
tree | db5c695147f99103602d3d75a7c1f1e2b7e72949 | |
parent | 1a77efe9ba5d111044a734415cb75ffb7cf959e1 [diff] |
Place a black layer behind SurfaceView. For SurfaceView's which do not implement SurfaceRedrawNeeded we can see holes through to the background in various scenarios. We prevent this by placing a DimLayer behind opaque SurfaceViews. SurfaceFlinger will remove it from the visible layers when the SurfaceView totally obscures it. Bug: 28763785 Change-Id: I9b4d1ba8be786f30432a6a3b42e5616662cdc090