Don't rely on window state when disabling the panel.

Bug:10488453
Change-Id: I09ffbf166dd34489064cf0d73fe7ae4dd356c6c9
1 file changed