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

Commit d374c20f authored by Adrian Roos's avatar Adrian Roos Committed by Android (Google) Code Review
Browse files

Merge "Fix flash of uninitialized surface" into mnc-dev

parents 97cf0f1d 18a0b9e0
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -1700,7 +1700,10 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
                    Log.v(TAG, "DEBUG_MEDIA: Fading out album artwork");
                    Log.v(TAG, "DEBUG_MEDIA: Fading out album artwork");
                }
                }
                mBackdrop.animate()
                mBackdrop.animate()
                        .alpha(0f)
                        // Never let the alpha become zero - otherwise the RenderNode
                        // won't draw anything and uninitialized memory will show through
                        // if mScrimSrcModeEnabled. Note that 0.001 is rounded down to 0 in libhwui.
                        .alpha(0.002f)
                        .setInterpolator(mBackdropInterpolator)
                        .setInterpolator(mBackdropInterpolator)
                        .setDuration(300)
                        .setDuration(300)
                        .setStartDelay(0)
                        .setStartDelay(0)