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

Skip to content
Commit f110b2fe authored by Smriti Gupta's avatar Smriti Gupta Committed by Gerrit - the friendly Code Review server
Browse files

SAP: Fix following issues in SAP Code

- Remove redundant code calling in intiSocket() to call
  closeServerSocket() as it will anyways be called from
  closeService(). Redundant code can lead to ANR's when
  starting/stopping service or BT on/off is done
  various times.
- Add check to prevent unregistering receiver when it
  is not registered.
- Add null checks to prevent pointer dereference.

CRs-Fixed: 952309
Change-Id: Ie364062243dc1902d49c4a858b6c11336789e8cc
parent 977ff92f
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