Update AndroidBug5497Workaround.java

This workaround sometimes caused my layout to get pushed off the top of the screen and a gap appeared between the layout and the keyboard (HTC One M8).
It seems to work properly when I modify the `possiblyResizeChildOfContent()` method like this...