settings: bluetooth: qml: cleanup onPoweredChanged slot 14/20914/1 7.0.1 guppy/7.0.1 guppy_7.0.1
authorMatt Ranostay <matt.ranostay@konsulko.com>
Wed, 3 Apr 2019 03:05:26 +0000 (20:05 -0700)
committerMatt Ranostay <matt.ranostay@konsulko.com>
Thu, 4 Apr 2019 19:41:49 +0000 (12:41 -0700)
commit9853b85a2e1772c250af222069ef31d32bca2964
tree69730b8e842b8e3a6e4b66892ceec6d55f4e5370
parenta4138d46829dd96017b1af77ef42793f44b5b8d4
settings: bluetooth: qml: cleanup onPoweredChanged slot

Move enabling of discovery + discoverablity to the respective slot
to avoid race conditions from the adapter powering on

Bug-AGL: SPEC-2295 SPEC-2290
Change-Id: I16c04d7bcd880ef5dcc5352d0da52ce2fe8b2447
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
app/bluetooth/Bluetooth.qml