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

Commit df2a6354 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Make NSWVC throw on userdebug builds when launch animation times out

This CL WTF-logs when the shade launch animation flag is not set to
false within 5s. This will help debug b/288507023 as it will crash on
droidfood but will keep the safeguard on release builds.

Bug: 288507023
Test: Manual
Change-Id: I91799c3cb04a2c6539853ae7b14e6bfeba19f9ea
parent f353aecc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -288,7 +288,7 @@ public class NotificationShadeWindowViewController {
                }
                if (mExpandAnimationRunning) {
                    if (isDown && mClock.uptimeMillis() > mLaunchAnimationTimeout) {
                        mShadeLogger.d("NSWVC: launch animation timed out");
                        Log.wtf(TAG, "NSWVC: launch animation timed out");
                        setExpandAnimationRunning(false);
                    } else {
                        return logDownDispatch(ev, "expand animation running", false);