From 4e226ba5ad81c09dc62cd1c4295bd20fbd1d7711 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Thu, 27 Jul 2017 22:18:43 -0700 Subject: binding: bluetooth: save priority of paired devices for autoconnection Store list of the order of devices paired to deduce priority of which should be autoconnected to first. Change-Id: I0db62e93dfae92a63cbd6f45515093344322f2ca Bug-AGL: SPEC-722 Signed-off-by: Matt Ranostay --- binding-bluetooth/bluetooth-manager.h | 1 + 1 file changed, 1 insertion(+) (limited to 'binding-bluetooth/bluetooth-manager.h') diff --git a/binding-bluetooth/bluetooth-manager.h b/binding-bluetooth/bluetooth-manager.h index ed02b28..54d7ff8 100644 --- a/binding-bluetooth/bluetooth-manager.h +++ b/binding-bluetooth/bluetooth-manager.h @@ -162,6 +162,7 @@ typedef struct { GMutex m; gint watch; GSList * device; + GSList * priorities; } stBluetoothManage; typedef struct tagBinding_RegisterCallback -- cgit 1.2.3-korg