Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f48c0b98 authored by Casper Bonde's avatar Casper Bonde Committed by Pavlin Radoslavov
Browse files

MAP: Restart MAS servers after ACL disconnect



Code was introduced to remove MAP Access Request early at
ACL disconnect. By removing the notification as wall as the
UserTimeout timer caused the MAS instances not to be restarted,
to be able to accept a new conection. Hence if this occured
no connection to MAP was possible untill the phone or Bluetooth
was power cycled.

This fix causes the MAS instances to be restarted in
the event of a ACL disconnect before user accepts MAP req.

Also, applied some updates to the log messages:
 - Changed the VERBOSE flag to false
 - Changed some DEBUG messages to VERBOSE (for privacy reason)
 - Updated the message priorities to match their purpose. E.g.,
   "if (VERBOSE) Log.i(...)" -> "if (VERBOSE) Log.v(...)"

Bug: 19239028

Change-Id: Icf6d065a7a48c70a9bbc1593267f6a3605433af2
Signed-off-by: default avatarCasper Bonde <c.bonde@samsung.com>
parent 72014e2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment