Fix class cast exception when footer view may be showing.

Change-Id: I51ed34293ba3e53e9b11ed440ce434653213e74d
1 file changed