summaryrefslogtreecommitdiffstats
path: root/src/com/android/bluetooth/map/BluetoothMapService.java
diff options
context:
space:
mode:
authorHemant Gupta <hemantg@codeaurora.org>2014-08-14 13:58:26 +0530
committerLinux Build Service Account <lnxbuild@localhost>2014-11-04 08:26:04 -0700
commit89ba738388fb400ec9b13a8b3bd6d80418ea0269 (patch)
tree9f853d67510192579244989482f6e1881e3cd85d /src/com/android/bluetooth/map/BluetoothMapService.java
parentfdf073a106e79dc12596a216b8549a130987a8be (diff)
downloadandroid_packages_apps_Bluetooth-89ba738388fb400ec9b13a8b3bd6d80418ea0269.tar.gz
android_packages_apps_Bluetooth-89ba738388fb400ec9b13a8b3bd6d80418ea0269.tar.bz2
android_packages_apps_Bluetooth-89ba738388fb400ec9b13a8b3bd6d80418ea0269.zip
Bluetooth: Dynamic Logging for data profiles
This patch adds dynamic logging support for MAP, PBAP and OPP data profiles. OPP: Control Verbose logging runtime from adb shell Support runtime VERBOSE logging control for OPP Server or Client app implementation through "BluetoothOpp" TAG. PBAP: Control Verbose logging runtime from adb shell. Support runtime VERBOSE logging control for PBAP Server App implementation through BluetoothPbapService TAG. MAP: Set BluetoothMapService.VERBOSE to false from code. Mark DEBUG for logs to be enabled by default. OPP: Dump timestamp while send and receive file. Add appropriate verbose logging. CRs-fixed: 608230, 604523 Change-Id: Ia0db1ff0847d1f6822d53ecedc3f7095abed1fa5
Diffstat (limited to 'src/com/android/bluetooth/map/BluetoothMapService.java')
-rw-r--r--src/com/android/bluetooth/map/BluetoothMapService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/bluetooth/map/BluetoothMapService.java b/src/com/android/bluetooth/map/BluetoothMapService.java
index 9d06bd037..d32330834 100644
--- a/src/com/android/bluetooth/map/BluetoothMapService.java
+++ b/src/com/android/bluetooth/map/BluetoothMapService.java
@@ -314,7 +314,7 @@ public class BluetoothMapService extends ProfileService {
private final Handler mSessionStatusHandler = new Handler() {
@Override
public void handleMessage(Message msg) {
- if (VERBOSE) Log.v(TAG, "Handler(): got msg=" + msg.what);
+ if (DEBUG) Log.v(TAG, "Handler(): got msg=" + msg.what);
switch (msg.what) {
case UPDATE_MAS_INSTANCES: