OSDN Git Service

ContextMap: Remove connection references when an app is removed
authorKyle Horimoto <khorimoto@google.com>
Wed, 31 Aug 2016 00:54:16 +0000 (17:54 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 31 Aug 2016 01:16:04 +0000 (01:16 +0000)
commit660208ad2ee2ea394adab0d1c1cea9b068bb70c6
tree78f221eaec9187cb6356a14f54a7f865b613acaf
parent29cab6e8ea1014179fd15fb067e621ae4b066085
ContextMap: Remove connection references when an app is removed

This fixes an issue which could cause a stale Bluetooth address to be
used. The issue would manifest itself when an app is added with a
connection ID, then the app is removed and app is re-added, causing
the original connection ID (which could be stale) to be used.

Bug: 30765855
Change-Id: Idacbbfb07d895bf9276fdd986100e832a54d81b0
src/com/android/bluetooth/gatt/ContextMap.java