summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jordan Demeulenaere <jdemeulenaere@google.com> 2023-08-25 17:24:04 +0200
committer Jordan Demeulenaere <jdemeulenaere@google.com> 2023-09-12 16:20:00 +0200
commit6585b8a8b2ebac2892d0d079ba6f37b0f86f850e (patch)
tree4df7898f88662e0a8d3a07cdb8a5df13584793a3
parent327000cfd13937a973dabe413c40ab5c04692015 (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/shade/NotificationShadeWindowViewController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/shade/NotificationShadeWindowViewController.java b/packages/SystemUI/src/com/android/systemui/shade/NotificationShadeWindowViewController.java
index 798f2d586bab..06557f2f2c79 100644
--- a/packages/SystemUI/src/com/android/systemui/shade/NotificationShadeWindowViewController.java
+++ b/packages/SystemUI/src/com/android/systemui/shade/NotificationShadeWindowViewController.java
@@ -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);