Android: Fix repaint on rotation
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Fri, 18 Oct 2013 10:42:42 +0000 (12:42 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 25 Oct 2013 07:52:37 +0000 (09:52 +0200)
commit8fd9fe209934ac92210ed3b81723ad5e21a98a30
tree76c86b2c40996b84e3c9397b3061ca2b302e41f4
parentf609e65a911efad7472a18fcbed983936af116b8
Android: Fix repaint on rotation

After f89f099c55576992b39a8021aace64ff32747624, we no longer
post a geometry-change and expose event when calling setGeometry,
which the Android plugin depended on. This caused the window to
stay the same size when it was resized by orientation changes.
We put back the events in the code that calls setGeometry()
instead.

Task-number: QTBUG-32878
Change-Id: I449515dda07c839e0991c5a7031a972ca9c74dff
Reviewed-by: BogDan Vatra <bogdan@kde.org>
src/plugins/platforms/android/src/androidjnimain.cpp
src/plugins/platforms/android/src/androidjnimain.h
src/plugins/platforms/android/src/opengl/qandroidopenglcontext.cpp
src/plugins/platforms/android/src/opengl/qandroidopenglplatformwindow.cpp
src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp