OSDN Git Service

DO NOT MERGE: Exit bt process after cleanup
authorzzy <zhenye@broadcom.com>
Tue, 4 Mar 2014 00:50:25 +0000 (16:50 -0800)
committerDmitry Grinberg <dmitrygr@google.com>
Wed, 9 Apr 2014 20:42:15 +0000 (13:42 -0700)
commit93bbeea23b6e974554eba6337d758f70c3314d06
tree234434d8244c2f297c79d760ad56646af1552f25
parent662758761424473da90573de5fed1b686ce9ba0e
DO NOT MERGE: Exit bt process after cleanup

Added code to exit bt process and avoid android process caching.
The fix also gives end user a chance to recover a bad state bt process by
simply turning off/on the bluetooth. Since the process is not recycled,
the kernel frees up all leftover fd and  memory and gives bt process a fresh start every time.
Addresses b/13912278

Change-Id: I616345da70bb60f1aeaab151a6bf6f793168a829
src/com/android/bluetooth/btservice/AdapterService.java