settings: bluetooth: qml: cleanup onPoweredChanged slot 87/20887/1
authorMatt Ranostay <matt.ranostay@konsulko.com>
Wed, 3 Apr 2019 03:05:26 +0000 (20:05 -0700)
committerMatt Ranostay <matt.ranostay@konsulko.com>
Wed, 3 Apr 2019 03:44:19 +0000 (20:44 -0700)
commite1e25b0d97ab9eafaa63f76af22dc0d565724138
treebb3cda505ec1b089321c7f4fa0d7b8d63ecf3bd2
parent38a1f8f16281233bedfed3c2a7ad5a6b1598c227
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
Change-Id: I16c04d7bcd880ef5dcc5352d0da52ce2fe8b2447
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
app/bluetooth/Bluetooth.qml