Set trusted profile/device in ACCEPT_ALWAYS authorization case 62/254362/2 accepted/tizen/unified/20210303.130739 submit/tizen/20210303.003641
authorAyush Garg <ayush.garg@samsung.com>
Mon, 1 Mar 2021 13:00:11 +0000 (18:30 +0530)
committerAyush Garg <ayush.garg@samsung.com>
Tue, 2 Mar 2021 07:00:33 +0000 (12:30 +0530)
commitf8e9f6052da63c67b0e60c069ae89c2a786b7904
treec50d1c3ee73f5e5d2db217ee50afc64d04d852c0
parent8780f45461413ccce6aaf9155d737a2cab6f9d61
Set trusted profile/device in ACCEPT_ALWAYS authorization case

If ACCEPT_ALWAYS option is selected in authorization popup,
This change will set Profile as trusted if the profile is
PBAP, MAP or SAP. Otherwise it will put device in the
trusted list.
This will allow the user to connect automatically
in future connections without asking for authorization.

Change-Id: I2033f34b8436987d4c4ea87db57c2193cfa7c34c
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
bt-oal/bluez_hal/src/bt-hal-device-dbus-handler.c
bt-oal/bluez_hal/src/bt-hal-device-dbus-handler.h
bt-oal/bluez_hal/src/bt-hal-gap-agent.c
bt-oal/bluez_hal/src/bt-hal-gap-agent.h