Fix incoming callback and binding issues.
- Created queues to handle cases where callbacks were getting dropped while
the service was connecting.
- Fixed DeadObjectExceptions when the in-call ui was being re-installed.
- Change to a single connection object to fix connection leak where every
re-bind caused connection to double.
- Split caller information from Call into CallIdentification object.
Bug: 10468815
Bug: 10457750
Change-Id: Icaef130db2f6893df3175eed07d0d483a3c4c455
diff --git a/src/com/android/phone/BluetoothManager.java b/src/com/android/phone/BluetoothManager.java
index f5106c8..dd38632 100644
--- a/src/com/android/phone/BluetoothManager.java
+++ b/src/com/android/phone/BluetoothManager.java
@@ -408,14 +408,14 @@
}
@Override
- public void onIncoming(Call call, ArrayList<String> messages) {
+ public void onIncoming(Call call) {
// An incoming call can affect bluetooth indicator, so we update it whenever there is
// a change to any of the calls.
updateBluetoothIndication();
}
@Override
- public void onUpdate(List<Call> calls, boolean fullUpdate) {
+ public void onUpdate(List<Call> calls) {
updateBluetoothIndication();
}