Code Review
/
apps
/
settings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a41f992
)
QML: Bluetooth: fix initial paired devices list
99/12099/1
4.99.3
eel/4.99.3
eel_4.99.3
author
Matt Ranostay
<matt.ranostay@konsulko.com>
Thu, 23 Nov 2017 03:34:09 +0000
(19:34 -0800)
committer
Matt Ranostay
<matt.ranostay@konsulko.com>
Thu, 23 Nov 2017 03:34:35 +0000
(19:34 -0800)
Paired device count was being set to zero after getting initial
list from the bluetooth service.
Bug-AGL: SPEC-1123
Change-Id: If4d70e45bcb2b3fcbde3f4ace0d251601e38c157
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
app/bluetooth/Bluetooth.qml
patch
|
blob
|
history
diff --git
a/app/bluetooth/Bluetooth.qml
b/app/bluetooth/Bluetooth.qml
index
04c9284
..
cef0578
100644
(file)
--- a/
app/bluetooth/Bluetooth.qml
+++ b/
app/bluetooth/Bluetooth.qml
@@
-144,8
+144,8
@@
SettingPage {
onCheckedChanged: {
console.log("Bluetooth set to", checked)
if (checked == true) {
- initBTlist()
pairedDeviceCount=0
+ initBTlist()
btOn=true
request(btAPIpath + 'power?value=1', function (o) {
// log the json response