~ci-train-bot/ubuntu-system-settings/ubuntu-system-settings-ubuntu-yakkety-landing-046

Viewing all changes in revision 1691.

  • Committer: Bileto Bot
  • Author(s): Konrad Zapałowicz
  • Date: 2016-08-11 12:37:05 UTC
  • mfrom: (1679.3.5 ubuntu-system-settings-carfix)
  • Revision ID: ci-train-bot@canonical.com-20160811123705-thfd0xc2iyqyzk5x
Make device always valid.

The current implementation set the device status to valid only when the
type of the device has been known. This has been provided by reading
Class of Device or Appearance properties which in some cases such as
inbound pairing with yet unknown device has to be queried. Now, some
of the remote devices such as cars do not make themselves discoverable
when initiate pairing which make us unable to query it's type. As a
result the device has been permanently invalid and the pairing failed.

This change makes sure that the device is always valid.

Approved by: Ken VanDine, Matteo Croce

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: