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

Commit cc9f52f9 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

make the window-shade use an opaque surface if possible

parent d6b10fb8
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -1490,10 +1490,13 @@ public class StatusBarService extends IStatusBar.Stub

        /// ---------- Expanded View --------------
        pixelFormat = PixelFormat.TRANSLUCENT;
        if (false) {
        bg = mExpandedView.getBackground();
        if (bg != null) {
            pixelFormat = bg.getOpacity();
            if (pixelFormat != PixelFormat.TRANSLUCENT) {
                // we want good-looking gradients, so we force a 8-bits per
                // pixel format.
                pixelFormat = PixelFormat.RGBX_8888;
            }
        }