diff options
author | Pavlin Radoslavov <pavlin@google.com> | 2016-09-28 16:58:07 -0700 |
---|---|---|
committer | Pavlin Radoslavov <pavlin@google.com> | 2016-09-28 17:05:19 -0700 |
commit | c295ebb2a781b86550e54639d7488a5b1aa7ab29 (patch) | |
tree | 191e9cec6bebeac786105b7c3c4b0158bbc622e8 /src/com | |
parent | e8d2b5c0f591311c90e428d88b94cd89b88ed342 (diff) | |
download | android_packages_apps_Bluetooth-c295ebb2a781b86550e54639d7488a5b1aa7ab29.tar.gz android_packages_apps_Bluetooth-c295ebb2a781b86550e54639d7488a5b1aa7ab29.tar.bz2 android_packages_apps_Bluetooth-c295ebb2a781b86550e54639d7488a5b1aa7ab29.zip |
Cleanup BluetoothPbapReceiver log messages
Bug: 31442739
Bug: 31457305
Test: manual - checked logcat output for (lack of) excessive logs
Change-Id: I76f32dd950afd0a2949f38bfa6c0d4212b83357c
(cherry picked from commit f36fc254ad196339a59c2ab00b555f4d8f601718)
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/bluetooth/pbap/BluetoothPbapReceiver.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/com/android/bluetooth/pbap/BluetoothPbapReceiver.java b/src/com/android/bluetooth/pbap/BluetoothPbapReceiver.java index c0150ed2c..b1646230f 100644 --- a/src/com/android/bluetooth/pbap/BluetoothPbapReceiver.java +++ b/src/com/android/bluetooth/pbap/BluetoothPbapReceiver.java @@ -46,20 +46,18 @@ public class BluetoothPbapReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { - if (D) Log.d(TAG, "PbapReceiver onReceive"); - Intent in = new Intent(); in.putExtras(intent); in.setClass(context, BluetoothPbapService.class); String action = intent.getAction(); in.putExtra("action", action); - if (D) Log.d(TAG, "***********action = " + action); + if (D) Log.d(TAG, "PbapReceiver onReceive action = " + action); boolean startService = true; if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR); in.putExtra(BluetoothAdapter.EXTRA_STATE, state); - if (D) Log.d(TAG, "***********state = " + state); + if (D) Log.d(TAG, "state = " + state); if ((state == BluetoothAdapter.STATE_TURNING_ON) || (state == BluetoothAdapter.STATE_OFF)) { //FIX: We turn on PBAP after BluetoothAdapter.STATE_ON, @@ -76,7 +74,7 @@ public class BluetoothPbapReceiver extends BroadcastReceiver { } } if (startService) { - if (D) Log.d(TAG,"***********Calling start service!!!! with action = " + in.getAction()); + if (D) Log.d(TAG, "Calling start service with action = " + in.getAction()); context.startService(in); } } |