OSDN Git Service

We always want to switch role to central
authorHansong Zhang <hsz@google.com>
Wed, 4 Nov 2020 22:55:45 +0000 (14:55 -0800)
committerHansong Zhang <hsz@google.com>
Thu, 5 Nov 2020 19:59:22 +0000 (11:59 -0800)
commit7997288ee8188732c95e58c6d791540842851fb2
tree50e0a46830e1aeb49aa51eb74ab9cfbc22f0da33
parent133c4b7067db1b3e030b14f9d5a15aea850181e0
We always want to switch role to central

When we continue role switch from mode change or encryption change, we
always want to switch to central, as we only made requests to change to
central.

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Iff4ef160956fe2ba5901d24bf1f804570ef3d57e
stack/acl/btm_acl.cc