diff options
author | mah <mah@android.com> | 2010-02-08 17:50:14 -0800 |
---|---|---|
committer | mah <mah@android.com> | 2010-02-09 16:12:48 -0800 |
commit | a3a0946554d120c35ebe0e632fdc454e49cf61e1 (patch) | |
tree | 140677d760dc67d00bdd6f6b48d0d3d29c9828de /core/java/android | |
parent | 744d90245378e53862ba02869864b36cea832648 (diff) | |
download | frameworks_base-a3a0946554d120c35ebe0e632fdc454e49cf61e1.zip frameworks_base-a3a0946554d120c35ebe0e632fdc454e49cf61e1.tar.gz frameworks_base-a3a0946554d120c35ebe0e632fdc454e49cf61e1.tar.bz2 |
Enable bluetooth voice dialing in BluetoothHeadset.java.
Bug: 243220
This just sets DISABLE_BT_VOICE_DIALING to false.
A different checking to packages/apps/VoiceDialer actually
makes it work properly.
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/bluetooth/BluetoothHeadset.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/core/java/android/bluetooth/BluetoothHeadset.java b/core/java/android/bluetooth/BluetoothHeadset.java index b792965..251813e 100644 --- a/core/java/android/bluetooth/BluetoothHeadset.java +++ b/core/java/android/bluetooth/BluetoothHeadset.java @@ -112,11 +112,9 @@ public final class BluetoothHeadset { /** Default priority when not set or when the device is unpaired */ public static final int PRIORITY_UNDEFINED = -1; - /** The voice dialer 'works' but the user experience is poor. The voice - * recognizer has trouble dealing with the 8kHz SCO signal, and it still - * requires visual confirmation. Disable for cupcake. - */ - public static final boolean DISABLE_BT_VOICE_DIALING = true; + /** Set this to true to prevent the bluetooth headset from + * activating the VoiceDialer. */ + public static final boolean DISABLE_BT_VOICE_DIALING = false; /** * An interface for notifying BluetoothHeadset IPC clients when they have |