Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2da11d8 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Code Review
Browse files

Merge "Set alpha value for newly created dim surface."

parents f32cdca3 9ee5c221
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10986,6 +10986,7 @@ public class WindowManagerService extends IWindowManager.Stub
                try {
                    mDimSurface = new Surface(session, 0, -1, 16, 16, PixelFormat.OPAQUE,
                            Surface.FX_SURFACE_DIM);
                    mDimSurface.setAlpha(0.0f);
                } catch (Exception e) {
                    Log.e(TAG, "Exception creating Dim surface", e);
                }