From 8c38007462a9262831d8e36668cc00f814994c46 Mon Sep 17 00:00:00 2001 From: Eric Chou Date: Mon, 5 Nov 2012 15:48:34 -0800 Subject: [PATCH] Bug 808193 - return 'boolean' if PROP_DEVICE_CONNECTED_TYPE is not found, r=qdot --- dom/bluetooth/linux/BluetoothDBusService.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dom/bluetooth/linux/BluetoothDBusService.cpp b/dom/bluetooth/linux/BluetoothDBusService.cpp index 4421b56b386b..c4563dee7284 100644 --- a/dom/bluetooth/linux/BluetoothDBusService.cpp +++ b/dom/bluetooth/linux/BluetoothDBusService.cpp @@ -879,10 +879,9 @@ bool IsDeviceConnectedTypeBoolean() { #if defined(MOZ_WIDGET_GONK) - char connProp[PROPERTY_VALUE_MAX]; - property_get(PROP_DEVICE_CONNECTED_TYPE, connProp, "array"); + property_get(PROP_DEVICE_CONNECTED_TYPE, connProp, "boolean"); if (strcmp(connProp, "boolean") == 0) { return true; }