diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2018-09-11 13:56:12 +0200 |
---|---|---|
committer | Aapo Keskimolo <aapo.keskimolo@qt.io> | 2019-03-06 12:36:58 +0000 |
commit | 1d58d2e987bb12b2d79c7a8bb80e14955dadded6 (patch) | |
tree | 7b0d361cf4f7a0e3ca5f8b19ff2a175fa6cb986d /src/testlib | |
parent | 02c1f67fc390766a92a47e83c44dac38a80d6267 (diff) |
Android: Use DisplayListener to detect rotation
Since Activity's onConfigurationChanged is not called
when rotating from landscape to landscape (through 180 degrees),
added display listener to detect the rotation.
DisplayManager.DisplayListener.onDisplayChanged() is called exactly when
Display.getRotation() value is changed.
Task-number: QTBUG-56919
Change-Id: Iabf376adf0a0756dddacaece62e5a2ac604ea947
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/testlib')
0 files changed, 0 insertions, 0 deletions