MAP: Handle ANR caused from socket close and accept thread.

Perform  connection and server socket close  before
AcceptThread shutdown to handle ANR caused from AcceptThread
blocked for socket close.

Change-Id: I65e67ccae5075c723b06e1c163f8a76a92d9d676
CRs-fixed: 535008
1 file changed
tree: 7a6abf8ebd61285ce708e49d9e4456005cc66e00
  1. res/
  2. src/
  3. Android.mk
  4. AndroidManifest.xml