summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorArtur Dryomov <artur.dryomov@gmail.com>2013-09-01 18:52:29 +0300
committerArtur Dryomov <artur.dryomov@gmail.com>2013-09-03 12:22:47 +0300
commit837d6e5024897391a3b4351608f626d0b952e0da (patch)
treed507596d7be746e9d308330e9e389bf07e71888f /android
parent920370f7d89a6f310c3e98457ed844425de09392 (diff)
Change search delay from 10 seconds to 5.
Should be better for UI interaction feelings. Change-Id: I68322ed71878ec520676d68d821f64041476b800
Diffstat (limited to 'android')
-rw-r--r--android/sdremote/src/org/libreoffice/impressremote/communication/BluetoothServersFinder.java2
-rw-r--r--android/sdremote/src/org/libreoffice/impressremote/communication/TcpServersFinder.java2
2 files changed, 2 insertions, 2 deletions
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;