Skip to content

Commit 727f62d

Browse files
committed
Remve method
1 parent a211815 commit 727f62d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ public void onDraw() {
8787
* placeholder.
8888
*/
8989
private static boolean isAliveAndAttached(View view) {
90-
return view.getViewTreeObserver().isAlive() && isAttachedToWindow(view);
91-
}
92-
93-
/** Backport {@link View#isAttachedToWindow()} which is API 19+ only. */
94-
private static boolean isAttachedToWindow(View view) {
95-
return view.isAttachedToWindow();
90+
return view.getViewTreeObserver().isAlive() && view.isAttachedToWindow();
9691
}
9792
}

0 commit comments

Comments
 (0)