Modify poll interval 93/7793/2
authorsrimaldia <hariasti.srimaldia-1@jp.alps.com>
Thu, 22 Dec 2016 07:58:46 +0000 (16:58 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 22 Dec 2016 09:15:06 +0000 (09:15 +0000)
Change-Id: I2a963667dd1eadb92533746fba829d7fe5916a3d
Signed-off-by: srimaldia <hariasti.srimaldia-1@jp.alps.com>
app/bluetooth/Bluetooth.qml
app/wifi/Wifi.qml

index e8cca1a..cd0d982 100644 (file)
@@ -302,7 +302,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()
index e0ae950..8f2fff2 100644 (file)
@@ -399,7 +399,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()