From 837d6e5024897391a3b4351608f626d0b952e0da Mon Sep 17 00:00:00 2001 From: Artur Dryomov Date: Sun, 1 Sep 2013 18:52:29 +0300 Subject: Change search delay from 10 seconds to 5. Should be better for UI interaction feelings. Change-Id: I68322ed71878ec520676d68d821f64041476b800 --- .../libreoffice/impressremote/communication/BluetoothServersFinder.java | 2 +- .../org/libreoffice/impressremote/communication/TcpServersFinder.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'android') diff --git a/android/sdremote/src/org/libreoffice/impressremote/communication/BluetoothServersFinder.java b/android/sdremote/src/org/libreoffice/impressremote/communication/BluetoothServersFinder.java index 2152cef631d8..605e0a9579bf 100644 --- a/android/sdremote/src/org/libreoffice/impressremote/communication/BluetoothServersFinder.java +++ b/android/sdremote/src/org/libreoffice/impressremote/communication/BluetoothServersFinder.java @@ -27,7 +27,7 @@ import org.libreoffice.impressremote.util.BluetoothOperator; import org.libreoffice.impressremote.util.Intents; class BluetoothServersFinder extends BroadcastReceiver implements ServersFinder, Runnable { - private static final int SEARCH_DELAY_IN_SECONDS = 10; + private static final int SEARCH_DELAY_IN_SECONDS = 5; private final Context mContext; diff --git a/android/sdremote/src/org/libreoffice/impressremote/communication/TcpServersFinder.java b/android/sdremote/src/org/libreoffice/impressremote/communication/TcpServersFinder.java index f3280eb78dc5..b31e4f66edc3 100644 --- a/android/sdremote/src/org/libreoffice/impressremote/communication/TcpServersFinder.java +++ b/android/sdremote/src/org/libreoffice/impressremote/communication/TcpServersFinder.java @@ -32,7 +32,7 @@ import android.text.TextUtils; import org.libreoffice.impressremote.util.Intents; class TcpServersFinder implements ServersFinder, Runnable { - private static final int SEARCH_DELAY_IN_SECONDS = 10; + private static final int SEARCH_DELAY_IN_SECONDS = 5; private static final int BLOCKING_TIMEOUT_IN_SECONDS = 10; private static final int SEARCH_RESULT_BUFFER_SIZE = 1024; -- cgit