Merge \"Use ViewCompat#isAttachedToWindow to fix FragmentLifecycleTest.\" into nyc-support-24.1-dev
am: 0d96980dbb

Change-Id: If8ac76523b14faca32ed9410b0b3acc8698ef152