summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/bluetooth/Utils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/bluetooth/Utils.java')
-rwxr-xr-xsrc/com/android/settings/bluetooth/Utils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/bluetooth/Utils.java b/src/com/android/settings/bluetooth/Utils.java
index 2cbe473..ba8dbbc 100755
--- a/src/com/android/settings/bluetooth/Utils.java
+++ b/src/com/android/settings/bluetooth/Utils.java
@@ -65,7 +65,7 @@ public final class Utils {
if (dialog == null) {
dialog = new AlertDialog.Builder(context)
.setPositiveButton(android.R.string.ok, disconnectListener)
- .setNegativeButton(android.R.string.cancel, null)
+ .setNegativeButton(android.R.string.cancel, disconnectListener)
.create();
} else {
if (dialog.isShowing()) {