Bluetooth-FTP: Handle invalid STATE_TURNING_OFF intent during Monkey run

Issue is seen only during the Monkey operations and not
under normal operations possibly due to race in the
Bluetooth OFF Process and dereferencing Socket resource.

This change will Handle invalid STATE_TURNING_OFF intent occurrence
in FTP service during Monkey run. Otherwise, VM will crash due to
uncaught exception.

CRs-Fixed: 571750
Change-Id: I7df6ea396cd87809fc727bf938e4078e31fd0aba
1 file changed
tree: 77a22e0a22929333b1cc30d1cb83f70bd5ed688b
  1. bttestapp/
  2. hiddtestapp/
  3. res/
  4. src/
  5. Android.mk
  6. AndroidManifest.xml