summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorJaikumar Ganesh <jaikumar@google.com>2010-10-13 16:52:52 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-10-13 16:52:52 -0700
commita31cbd61bc53730d756464b0c273475c4f738066 (patch)
tree28f42693aae1b59a4fdc218cc51cee9403e5d7c0 /core/java
parent51679ca89293ef33275b9681018c09be3948bf1c (diff)
parentbdb1d9320b49c286935b04e286ae41734b8f7237 (diff)
downloadframeworks_base-a31cbd61bc53730d756464b0c273475c4f738066.zip
frameworks_base-a31cbd61bc53730d756464b0c273475c4f738066.tar.gz
frameworks_base-a31cbd61bc53730d756464b0c273475c4f738066.tar.bz2
Merge "Remove STOPSHIP and reduce log spam." into gingerbread
Diffstat (limited to 'core/java')
-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 17b28d1..71aefbc 100644
--- a/core/java/android/bluetooth/BluetoothDeviceProfileState.java
+++ b/core/java/android/bluetooth/BluetoothDeviceProfileState.java
@@ -56,7 +56,7 @@ import com.android.internal.util.HierarchicalStateMachine;
*/
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;
public static final int CONNECT_HFP_OUTGOING = 1;
public static final int CONNECT_HFP_INCOMING = 2;
@@ -222,7 +222,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);
@@ -300,7 +300,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) {
@@ -395,7 +395,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) {
@@ -467,7 +467,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) {
@@ -559,7 +559,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) {
@@ -643,7 +643,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 dc0b32b..686ff7c 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;