OSDN Git Service

Ensure LE scan clients are removed when the related app dies
authorAndre Eisenbach <eisenbach@google.com>
Fri, 7 Oct 2016 00:39:31 +0000 (17:39 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 7 Oct 2016 00:42:20 +0000 (17:42 -0700)
commit5185d1989c93faa3ce4b4410ef49a0205f43b239
tree9180534418f5aac89bec6735bb1d18bf76a4327f
parentc295ebb2a781b86550e54639d7488a5b1aa7ab29
Ensure LE scan clients are removed when the related app dies

Use the passed in ScanClient in handleStopScan() to ensure that the
client appDied flag is in the correct state to ensure proper removal of
the client application reference.

Bug: 30681588
Change-Id: I0e0067a8e21ebd5f89870a7054b1f4092fe63ae1
src/com/android/bluetooth/gatt/ScanManager.java