OSDN Git Service

[BT] Handle the update of MAC address in Framework
authorFranck Lenormand <franckx.lenormand@intel.com>
Mon, 23 Nov 2015 17:23:37 +0000 (18:23 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 20 Jul 2016 09:53:20 +0000 (17:53 +0800)
commit31910d965ea3b0003eda5ea45222c1d2c29879a4
treec9497551edda23c2ba913f1d53e06a14169de083
parent81d9c363cdb4a82e256f16c28c0e7acdbc4db6bf
[BT] Handle the update of MAC address in Framework

In case that the OTP address from the BT chip is used,
The callback from the stack update the mac address in
the AdapterProperties but not in
BluetoothManagerService

This patch:
- add the new intent and variable to the API
- handle the reception of the intent
- update the local value

Change-Id: I56eb2299d7b634aa2a229e3e74329f30d0a84d22
Category: aosp improvement
Domain: CWS.BT-Common
Origin: internal
Upstream-Candidate: yes
Tracked-On: https://jira01.devtools.intel.com/browse/OAM-8856
Signed-off-by: Franck Lenormand <franckx.lenormand@intel.com>
Reviewed-on: https://android.intel.com:443/439917
core/java/android/bluetooth/BluetoothAdapter.java
services/core/java/com/android/server/BluetoothManagerService.java