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

Commit 6198144f authored by Adrian Roos's avatar Adrian Roos Committed by Android Git Automerger
Browse files

am e552f0a9: am 60e293cf: am 63d58c0a: am dc445a11: am d374c20f: Merge "Fix...

am e552f0a9: am 60e293cf: am 63d58c0a: am dc445a11: am d374c20f: Merge "Fix flash of uninitialized surface" into mnc-dev

* commit 'e552f0a9':
  Fix flash of uninitialized surface
parents 4eafb7a0 e552f0a9
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -1720,7 +1720,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)