diff options
author | Peter Rustler <peter.rustler@basyskom.com> | 2015-02-03 16:10:21 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-03-04 11:56:59 +0000 |
commit | 974a9508659bdae5045368e8c3a0e57106d5b247 (patch) | |
tree | e072f26a79fffcb00a10d310792414d86f60c6c5 /examples/nfc/corkboard | |
parent | fc83440a8fb3f0a1af7045f1513f46d404f2fc60 (diff) |
Remove the throwing code in Nfc enableForegroundDispatch for Android
In Android Nfc enableForegroundDispatch must not be called while
the activity is not in foreground. We have no API in current Qt
to know if we are in foreground. For that we would need to be
informed when a onPause/onResume in the activity was called.
Then we should enable the dispatch when in foreground and
disable while we are not.
This Patch removes the code that throw if we do it anyway.
Change-Id: I3bff7ba3f23b5ef2665f4c7f164a0bacd3e1c2d2
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'examples/nfc/corkboard')
0 files changed, 0 insertions, 0 deletions