Skip to content

Commit a211815

Browse files
committed
Fix FirstDrawDoneListener change
1 parent e20c520 commit a211815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-perf/src/main/java/com/google/firebase/perf/util/FirstDrawDoneListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ private static boolean isAliveAndAttached(View view) {
9292

9393
/** Backport {@link View#isAttachedToWindow()} which is API 19+ only. */
9494
private static boolean isAttachedToWindow(View view) {
95-
return view.getWindowToken() != null;
95+
return view.isAttachedToWindow();
9696
}
9797
}

0 commit comments

Comments
 (0)