Commit 08fc4cd0 authored by bryeung@chromium.org's avatar bryeung@chromium.org

Handle Bluetooth Adapter address updates.

The address of the adapter is often not present at the initial call to
ChangeAdapter (it hasn't been fetched yet), so it must be updated along
with other properties when an update notification is received.

BUG=none
TEST=manual


Review URL: https://chromiumcodereview.appspot.com/10823371

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151994 0039d316-1c4b-4281-b951-d872f2087c98
parent e9c41d2e
......@@ -332,6 +332,9 @@ void BluetoothAdapter::AdapterPropertyChanged(
} else if (property_name == properties->devices.name()) {
DevicesChanged(properties->devices.value());
} else if (property_name == properties->address.name()) {
address_ = properties->address.value();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment