CRAS: bt_transport - Fix the reading of Device property

Instead of depending only on the type of the property, checking the name
of the property is a must given that there is at least one other
property, Endpoint property, whose type is also object patch.

BUG=b:168650835
TEST=Run bluetooth_AUSanity with bluetoothd running with the experimental
flag

Change-Id: Ie1cda6412b7a96dd939ec280237bdf55c0e06777
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2414948
Tested-by: Miao-chen Chou <mcchou@chromium.org>
Reviewed-by: Daniel Winkler <danielwinkler@google.com>
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
Commit-Queue: Alain Michaud <alainm@chromium.org>
1 file changed