summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@qt.io>2017-03-28 15:53:42 +0200
committerChristian Stromme <christian.stromme@qt.io>2017-04-11 11:58:02 +0000
commit9091a058bc61e297abea03edca322edcd658cc1f (patch)
tree1e00f6ebeb4861feb5bddf755c0c77ed059d0687 /src/corelib/global
parent05b3295a570bd4f605dd3959f8abd4df1c7f7261 (diff)
Android: Fix application state tracking
- Make sure we don't process state changes before the platform plugin is completely created and registered. - Protect shared data with mutexes. - Don't update the application state from different threads. This was causing issues when testing run-time permission checks, when the application quickly switches state due to permission dialog being shown. In this case the states would be incorrectly delivered when the application was made active again. Change-Id: I3446eab9414ee5437cd788c27d65f808d1314aa5 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'src/corelib/global')
0 files changed, 0 insertions, 0 deletions