summaryrefslogtreecommitdiffstats
path: root/vcl/android
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-06 00:26:50 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-06 00:29:02 +0200
commit185b6251436ef03e314295e4fff8fcfae0d656b2 (patch)
tree7be253d9d95a78764d926fc4a03f895ca43db114 /vcl/android
parentMy check-deps script expects a space there... (diff)
downloadcore-185b6251436ef03e314295e4fff8fcfae0d656b2.tar.gz
core-185b6251436ef03e314295e4fff8fcfae0d656b2.zip
Add SvpSalInstance::PostedEventsInQueue()
Used by AndroidSalInstance::AnyInput(). Unfortunately there is no way to check for a specific type of input being queued as the AnyInput() API would want. That information is too hidden, sigh. Should fix that. Change-Id: I2d971a7da531bb00a80fd39311fb70ab29359b08
Diffstat (limited to 'vcl/android')
-rw-r--r--vcl/android/androidinst.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index dd49738fd4a8..85ae77c8aeca 100644
--- a/vcl/android/androidinst.cxx
+++ b/vcl/android/androidinst.cxx
@@ -659,9 +659,10 @@ bool AndroidSalInstance::AnyInput( sal_uInt16 nType )
{
if( (nType & VCL_INPUT_TIMER) != 0 )
return CheckTimeout( false );
- // FIXME: ideally we should check our input queue here ...
- LOGI("FIXME: AnyInput returns false");
- return false;
+
+ // Unfortunately there is no way to check for a specific type of
+ // input being queued. That information is too hidden, sigh.
+ return SvpSalInstance::s_pDefaultInstance->PostedEventsInQueue();
}
class AndroidSalSystem : public SvpSalSystem {