ActivityView: avoid crash in release() when detached from window

Adds an isAttachedToWindow() check to updateLocation() and
cleanTapExcludeRegion() which both require a reference to a Window.

Bug: 112574121
Change-Id: I71f184d74eb88d79effaeb3340ce5362155ed0fb
1 file changed