Window-added View LifecycleOwner

Implementation of LifecycleOwner for Views that are added to a Window
using the WindowManager.

Bug: 235402910
Test: Includes unit test. Code exercised and manually tested in followup
CL.

Change-Id: I29dc840c02dbe794992cb562a19d6cc1011242cb
2 files changed