We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e20c520 commit a211815Copy full SHA for a211815
firebase-perf/src/main/java/com/google/firebase/perf/util/FirstDrawDoneListener.java
@@ -92,6 +92,6 @@ private static boolean isAliveAndAttached(View view) {
92
93
/** Backport {@link View#isAttachedToWindow()} which is API 19+ only. */
94
private static boolean isAttachedToWindow(View view) {
95
- return view.getWindowToken() != null;
+ return view.isAttachedToWindow();
96
}
97
0 commit comments