summaryrefslogtreecommitdiff
path: root/vcl/android
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-01-31 19:53:49 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-01-31 19:53:49 +0000
commit436e2f870144342aa6bcc28a3a5cea32680eaacf (patch)
tree3b787e05e122785fe1520f7785bbb0f9e6d038c7 /vcl/android
parentc2aab432b172e0d1974139e62f64e36aa3dbfb85 (diff)
android: undo broken AnyInput method causing app startup to fail.
Diffstat (limited to 'vcl/android')
-rw-r--r--vcl/android/androidinst.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index b20d7c4b9300..dfb885518560 100644
--- a/vcl/android/androidinst.cxx
+++ b/vcl/android/androidinst.cxx
@@ -572,11 +572,11 @@ void AndroidSalInstance::DoReleaseYield (int nTimeoutMS)
bool AndroidSalInstance::AnyInput( sal_uInt16 nType )
{
- (void) nType;
- // FIXME: ideally we should check the input queue to avoid being busy ...
- fprintf (stderr, "FIXME: AnyInput returns true\n");
- // mpApp->inputQueue ? ...
- return true;
+ if( (nType & VCL_INPUT_TIMER) != 0 )
+ return CheckTimeout( false );
+ // FIXME: ideally we should check our input queue here ...
+ fprintf (stderr, "FIXME: AnyInput returns false\n");
+ return false;
}
class AndroidSalSystem : public SvpSalSystem {