diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2013-12-15 17:19:24 +0100 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-01-16 15:46:05 +0000 |
commit | f5d14e0234effd16a570ec3f32349f53c1b469f0 (patch) | |
tree | 95cee236318887e597ae3254da205898df9f220d /bridges | |
parent | 78b0b970fd72b19c9d49325bec566eb6e92935e5 (diff) |
only autostart discovery when there are no known devices
and don't loop autodiscovery, provide a manual trigger button instead.
Bluetooth discovery is a hefty process and thus should not be done
lightheartedly. Moreover discovery won't even list devices that
are already bonded, but not set to visible. As you will be more likely
using the remote with the same devices, it makes sense to list the
known devices and only do discovery on explicit request/when there are
no bonded devices yet.
Fix a lifecycle problem (as the service would be quit on
screen-rotation as the only bound client is destroyed/restarted - start
the service instead to let it keep running, and only stop/release it
when finishing)
icons from Android's ActionBar Icon Pack, shrinked using optipng
Change-Id: Ie8467f942df1aab2d64b337fc7a6f816b9d658a6
Reviewed-on: https://gerrit.libreoffice.org/7091
Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
Diffstat (limited to 'bridges')
0 files changed, 0 insertions, 0 deletions