X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=qml%2FDialPage.qml;h=e987d3370dc7c392bce1cff242a42f8262233e84;hb=f27c8240e3b2ba4247653b930a2d88fb2898c145;hp=ba0d0c6fad7899f6d1db38f8150cfb269cd9bae4;hpb=abd2910500e0fcc313e25333e1482d362b48564c;p=profile%2Fivi%2Fhfdialer.git diff --git a/qml/DialPage.qml b/qml/DialPage.qml index ba0d0c6..e987d33 100644 --- a/qml/DialPage.qml +++ b/qml/DialPage.qml @@ -33,10 +33,10 @@ Item Connections { target: adapter onModemOnlineChanged: { - console.log("BJONES POWERED HAS CHANGED!") + + //If the modem gets powered down for any reason, attempt to power it again to maintain connection if (!adapter.modemOnline) { - console.log("BJONES MODEM NOW POWERED DOWN TRYING TO RECONNECT") adapter.modemOnline = true } } @@ -212,9 +212,10 @@ Item model: btDevicesModel Component.onCompleted: { - if (!adapter.modemOnline) + + //Once model is completed, check if the modem is powered. If not, power it + if (!adapter.modemOnline) { - console.log("BJONES previously created modem is not powered! Try and re-connect") adapter.modemOnline = true } } @@ -237,10 +238,6 @@ Item } onConnectedChanged: { - console.log("device CONNECTED, attempting to hook up audio") - // device.connectAudio() - // device.connectAudioSrc() - // device.connectInput() } }