android: When rotating, we also need to update the viewport geometry.

Change-Id: I04502c56b1e1d16cf65cbeb47632c508ef9889d0