Merge "Change how notifyAppearedOrDisappearedForContentCaptureIfNeeded() checks if view is visible."