Skip to content

Commit 75d14c3

Browse files
committed
Use proper type for oob variable in register_agent.
Without this change the BluetoothEventLoop crashes on my armv5 arch board. Change-Id: Ia10382f0aea4736be268512ccf9d5c5cde052851
1 parent 9c4ba25 commit 75d14c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/jni/android_server_BluetoothEventLoop.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ static int register_agent(native_data_t *nat,
311311
{
312312
DBusMessage *msg, *reply;
313313
DBusError err;
314-
bool oob = TRUE;
314+
dbus_bool_t oob = TRUE;
315315

316316
if (!dbus_connection_register_object_path(nat->conn, agent_path,
317317
&agent_vtable, nat)) {

0 commit comments

Comments
 (0)