History log of /frameworks/base/core/java/android/bluetooth/BluetoothMapClient.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0146463d70355592da85c3605aaaef4cf0b7335e 17-Aug-2017 Jack He <siyuanh@google.com> Bluetooth: Thread-safe binder invocation

* Binder object may become null between null check and actual invocation
if using a instance private variable assignable by service connection
callbacks
* The solution to this problem without locking is to assign existing
binder variable to a local final variable before the null check
* Any further invocation to a disconnected binder object will result in
RemoteException that is caught by the try-catch block
* Read and write to volatile variable is always atomic and hence thread-safe
* Removed unnecessary synchronization in BluetoothAdapter constructor
* Private mConnection objects should be final
* Simplfied several return statements where booleans can be returned
directly
* Removed unnecessary catches for NPE since there won't be any

Bug: 64724692
Test: make, pair and use devices, no functional change
Change-Id: Ifc9d6337c0d451a01484b61243230725d5314f8e
(cherry picked from commit 16eeac356c68f3674677169b618774718ec982b2)
/frameworks/base/core/java/android/bluetooth/BluetoothMapClient.java
86a8c1cabb7de0b7c5868fad8edb7d0df176d4e1 07-Mar-2017 Srinivas Visvanathan <sriniv@google.com> Adding handle extra in unread-message broadcast

- Handle will be useful for messaging apps.

Bug: 33280056
Test: Manually
Change-Id: Id4b1bf2d90d9eaea1504cc270a922a1d6f1c468b
/frameworks/base/core/java/android/bluetooth/BluetoothMapClient.java
ad90338d2b26044a2606897e4444a99ac3e49ece 03-Mar-2017 Srinivas Visvanathan <sriniv@google.com> Defining extras for New Unread-Message Broadcast

- Defining extras for sender fields in the Broadcast intent.

Bug: 33280056
Test: Manually
Change-Id: Ie77bee498141c079f6f2ec811e527230c95e8831
/frameworks/base/core/java/android/bluetooth/BluetoothMapClient.java
b8fc0679e84f9cadc08524ea89f6e1b28631f3e5 06-Oct-2016 Joseph Pirozzo <pirozzoj@google.com> MAP MCE

Fix @LINK to @link in javadoc.

Bug: 30467210
Change-Id: Icac176947bee971c3f5d11fd4166cf8ceb0a437e
(cherry picked from commit f5fba751d360bbe8294c4640f5ad12a990f13122)
/frameworks/base/core/java/android/bluetooth/BluetoothMapClient.java
631768d81469f83552de05bf0ec839d1cd6eab04 01-Sep-2016 Joseph Pirozzo <pirozzoj@google.com> MAP MCE

Add MAP client code into packages/apps/Bluetooth. Changes here are to
define the MAP MCE interface and enable its selection when running on a
device that is also running a PBAP client (Car Kitt).

Bug: 30467210
Change-Id: Ifa2cdea7d67f63a2b5f3d971df8ec6d321dc5fee
(cherry picked from commit 433b3054847951e8e7b3864d11990604a66b8651)
/frameworks/base/core/java/android/bluetooth/BluetoothMapClient.java