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

Commit 6585b8a8 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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:df2a635443cb0f3edf778d70ef662084496354bb)
Merged-In: I91799c3cb04a2c6539853ae7b14e6bfeba19f9ea
Change-Id: I91799c3cb04a2c6539853ae7b14e6bfeba19f9ea
parent 327000cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -288,7 +288,7 @@ public class NotificationShadeWindowViewController {
                }
                }
                if (mExpandAnimationRunning) {
                if (mExpandAnimationRunning) {
                    if (isDown && mClock.uptimeMillis() > mLaunchAnimationTimeout) {
                    if (isDown && mClock.uptimeMillis() > mLaunchAnimationTimeout) {
                        mShadeLogger.d("NSWVC: launch animation timed out");
                        Log.wtf(TAG, "NSWVC: launch animation timed out");
                        setExpandAnimationRunning(false);
                        setExpandAnimationRunning(false);
                    } else {
                    } else {
                        return logDownDispatch(ev, "expand animation running", false);
                        return logDownDispatch(ev, "expand animation running", false);