summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorJaikumar Ganesh <jaikumar@google.com>2010-10-15 12:44:39 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-15 12:44:39 -0700
commitdb3694d03068aca596feee7326d3c14eb71d8dc9 (patch)
tree681904ee413cd06066ec70c570baf9f697e9341f /core/java/android
parent4138b33826ae0b17084574c1bdedb5738b89b69b (diff)
parenta905d9551103c5be465429ffeb0352b78058457e (diff)
am a905d955: am a31cbd61: Merge "Remove STOPSHIP and reduce log spam." into gingerbread
Merge commit 'a905d9551103c5be465429ffeb0352b78058457e' * commit 'a905d9551103c5be465429ffeb0352b78058457e': Remove STOPSHIP and reduce log spam.
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/bluetooth/BluetoothDeviceProfileState.java14
-rw-r--r--core/java/android/bluetooth/BluetoothProfileState.java2
2 files changed, 8 insertions, 8 deletions
diff --git a/core/java/android/bluetooth/BluetoothDeviceProfileState.java b/core/java/android/bluetooth/BluetoothDeviceProfileState.java
index 41ec3ccaf01b..b33ab2126262 100644
--- a/core/java/android/bluetooth/BluetoothDeviceProfileState.java
+++ b/core/java/android/bluetooth/BluetoothDeviceProfileState.java
@@ -59,7 +59,7 @@ import java.util.Set;
*/
public final class BluetoothDeviceProfileState extends HierarchicalStateMachine {
private static final String TAG = "BluetoothDeviceProfileState";
- private static final boolean DBG = true; //STOPSHIP - Change to false
+ private static final boolean DBG = false;
// TODO(): Restructure the state machine to make it scalable with regard to profiles.
public static final int CONNECT_HFP_OUTGOING = 1;
@@ -246,7 +246,7 @@ public final class BluetoothDeviceProfileState extends HierarchicalStateMachine
private class BondedDevice extends HierarchicalState {
@Override
protected void enter() {
- log("Entering ACL Connected state with: " + getCurrentMessage().what);
+ Log.i(TAG, "Entering ACL Connected state with: " + getCurrentMessage().what);
Message m = new Message();
m.copyFrom(getCurrentMessage());
sendMessageAtFrontOfQueue(m);
@@ -346,7 +346,7 @@ public final class BluetoothDeviceProfileState extends HierarchicalStateMachine
@Override
protected void enter() {
- log("Entering OutgoingHandsfree state with: " + getCurrentMessage().what);
+ Log.i(TAG, "Entering OutgoingHandsfree state with: " + getCurrentMessage().what);
mCommand = getCurrentMessage().what;
if (mCommand != CONNECT_HFP_OUTGOING &&
mCommand != DISCONNECT_HFP_OUTGOING) {
@@ -458,7 +458,7 @@ public final class BluetoothDeviceProfileState extends HierarchicalStateMachine
@Override
protected void enter() {
- log("Entering IncomingHandsfree state with: " + getCurrentMessage().what);
+ Log.i(TAG, "Entering IncomingHandsfree state with: " + getCurrentMessage().what);
mCommand = getCurrentMessage().what;
if (mCommand != CONNECT_HFP_INCOMING &&
mCommand != DISCONNECT_HFP_INCOMING) {
@@ -537,7 +537,7 @@ public final class BluetoothDeviceProfileState extends HierarchicalStateMachine
@Override
protected void enter() {
- log("Entering OutgoingA2dp state with: " + getCurrentMessage().what);
+ Log.i(TAG, "Entering OutgoingA2dp state with: " + getCurrentMessage().what);
mCommand = getCurrentMessage().what;
if (mCommand != CONNECT_A2DP_OUTGOING &&
mCommand != DISCONNECT_A2DP_OUTGOING) {
@@ -646,7 +646,7 @@ public final class BluetoothDeviceProfileState extends HierarchicalStateMachine
@Override
protected void enter() {
- log("Entering IncomingA2dp state with: " + getCurrentMessage().what);
+ Log.i(TAG, "Entering IncomingA2dp state with: " + getCurrentMessage().what);
mCommand = getCurrentMessage().what;
if (mCommand != CONNECT_A2DP_INCOMING &&
mCommand != DISCONNECT_A2DP_INCOMING) {
@@ -875,7 +875,7 @@ public final class BluetoothDeviceProfileState extends HierarchicalStateMachine
}
synchronized boolean processCommand(int command) {
- log("Processing command:" + command);
+ Log.i(TAG, "Processing command:" + command);
switch(command) {
case CONNECT_HFP_OUTGOING:
if (mHeadsetService == null) {
diff --git a/core/java/android/bluetooth/BluetoothProfileState.java b/core/java/android/bluetooth/BluetoothProfileState.java
index 584008b350f5..3f36926a9ea7 100644
--- a/core/java/android/bluetooth/BluetoothProfileState.java
+++ b/core/java/android/bluetooth/BluetoothProfileState.java
@@ -40,7 +40,7 @@ import com.android.internal.util.HierarchicalStateMachine;
*/
public class BluetoothProfileState extends HierarchicalStateMachine {
- private static final boolean DBG = true; // STOPSHIP - change to false.
+ private static final boolean DBG = true;
private static final String TAG = "BluetoothProfileState";
public static final int HFP = 0;