summaryrefslogtreecommitdiff
path: root/core/java/android/server
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2012-05-29 12:40:46 -0700
committerWink Saville <wink@google.com>2012-05-29 12:40:46 -0700
commitbbf30dfd767f823f5f40d14b498e2a593454c5c9 (patch)
tree8a73a775e4f6ac59eade4b465e7e2a3672078358 /core/java/android/server
parentfe002daf4aa6a7ba6cfc2379f11c517f419c77d1 (diff)
Enhance StateMachine Quitting and logging support.
Make StateMachine#quit non-conditional and remove the need to process the SM_QUIT_CMD it is now private. Rename halting to onHalting. Add onQuitting Change the message specific logging to be more generic and change the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add addLogRec(String) and addLogRec(String, State) as the generic logging methods. bug: 5678189 Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7
Diffstat (limited to 'core/java/android/server')
-rwxr-xr-xcore/java/android/server/BluetoothService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/server/BluetoothService.java b/core/java/android/server/BluetoothService.java
index 97c0209850ca..6296b11624e0 100755
--- a/core/java/android/server/BluetoothService.java
+++ b/core/java/android/server/BluetoothService.java
@@ -2448,7 +2448,7 @@ public class BluetoothService extends IBluetooth.Stub {
BluetoothDeviceProfileState state = mDeviceProfileState.get(address);
if (state == null) return;
- state.quit();
+ state.doQuit();
mDeviceProfileState.remove(address);
}