summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-12-22 13:42:55 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2016-12-22 13:42:55 +0000
commit601f5f0fceb0e86d47e41943031b784f8f7f7f0b (patch)
treee54adddfb5198fe39bea03fba07791231e03f4a2 /app
parentec52b6af0657ebd200507e63e85573e564200d54 (diff)
parent6ac0a1618470e44cae99dbaf2c9bafb604c3e029 (diff)
Merge "Modify poll interval"
Diffstat (limited to 'app')
-rw-r--r--app/bluetooth/Bluetooth.qml2
-rw-r--r--app/wifi/Wifi.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/bluetooth/Bluetooth.qml b/app/bluetooth/Bluetooth.qml
index 3a4d50f..23752b1 100644
--- a/app/bluetooth/Bluetooth.qml
+++ b/app/bluetooth/Bluetooth.qml
@@ -337,7 +337,7 @@ SettingPage {
//Timer for periodic refresh; this is BAD solution, need to figure out how to subscribe for events
Timer {
id: periodicRefresh
- interval: (currentState == "idle")? 10000:5000 // 5seconds
+ interval: (currentState == "idle")? 10000:1000 // 1second
onTriggered: {
btDeviceList.clear()
diff --git a/app/wifi/Wifi.qml b/app/wifi/Wifi.qml
index f5fdae1..1536e8b 100644
--- a/app/wifi/Wifi.qml
+++ b/app/wifi/Wifi.qml
@@ -325,7 +325,7 @@ SettingPage {
//Timer for periodic refresh; this is BAD solution, need to figure out how to subscribe for events
Timer {
id: periodicRefresh
- interval: 5000 // 5seconds
+ interval: 1000 // 1second
onTriggered: {
networkList.clear()