Loading services/core/java/com/android/server/wm/ActivityMetricsLogger.java +1 −1 Original line number Diff line number Diff line Loading @@ -780,7 +780,7 @@ class ActivityMetricsLogger { // window drawn event should report later to complete the transition. Otherwise all // activities in this task may be finished, invisible or drawn, so the transition event // should be cancelled. if (t.forAllActivities( if (t != null && t.forAllActivities( a -> a.mVisibleRequested && !a.isReportedDrawn() && !a.finishing)) { return; } Loading Loading
services/core/java/com/android/server/wm/ActivityMetricsLogger.java +1 −1 Original line number Diff line number Diff line Loading @@ -780,7 +780,7 @@ class ActivityMetricsLogger { // window drawn event should report later to complete the transition. Otherwise all // activities in this task may be finished, invisible or drawn, so the transition event // should be cancelled. if (t.forAllActivities( if (t != null && t.forAllActivities( a -> a.mVisibleRequested && !a.isReportedDrawn() && !a.finishing)) { return; } Loading