summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorZhihai Xu <zhihaixu@google.com>2013-07-26 13:33:16 -0700
committerZhihai Xu <zhihaixu@google.com>2013-07-26 13:33:16 -0700
commit84bbb548a6823649103ef91b73462848e8bf74d4 (patch)
tree6707058ea351032638523b21f96badb2989e5c4d /res
parent1fb887f2649cff9543ec45be07ce438277d29020 (diff)
downloadpackages_apps_Settings-84bbb548a6823649103ef91b73462848e8bf74d4.tar.gz
packages_apps_Settings-84bbb548a6823649103ef91b73462848e8bf74d4.tar.bz2
packages_apps_Settings-84bbb548a6823649103ef91b73462848e8bf74d4.zip
Add debug menu to enable btsnoop
bug: 8059358 Change-Id: Ib695aa5c9fff96d1676f718a2e3fb0bbf91eca04
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml4
-rw-r--r--res/xml/development_prefs.xml5
2 files changed, 9 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 21a4e043d..1d2ba3843 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -3074,6 +3074,10 @@
<string name="keep_screen_on">Stay awake</string>
<!-- setting Checkbox summary whether to keep the screen on when plugged in -->
<string name="keep_screen_on_summary">Screen will never sleep while charging</string>
+ <!-- Setting Checkbox title whether to enable bluetooth HCI snoop log -->
+ <string name="bt_hci_snoop_log">Enable Bluetooth HCI snoop log</string>
+ <!-- setting Checkbox summary whether to capture all bluetooth HCI packets in a file -->
+ <string name="bt_hci_snoop_log_summary">Capture all bluetooth HCI packets in a file</string>
<!-- Runtime selection title, used for debug purposes only. [CHAR LIMIT=25] -->
<string name="select_runtime_title">Select runtime </string>
diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml
index eddc41150..db003d30b 100644
--- a/res/xml/development_prefs.xml
+++ b/res/xml/development_prefs.xml
@@ -56,6 +56,11 @@
android:title="@string/enforce_read_external_title"
android:summary="@string/enforce_read_external_summary" />
+ <CheckBoxPreference
+ android:key="bt_hci_snoop_log"
+ android:title="@string/bt_hci_snoop_log"
+ android:summary="@string/bt_hci_snoop_log_summary"/>
+
<PreferenceCategory android:key="debug_debugging_category"
android:title="@string/debug_debugging_category">