From: Wojciech Jowsa Date: Mon, 17 May 2010 15:02:06 +0000 (+0200) Subject: BT - Not possible to accept incoming obex transfers using key-presses. X-Git-Tag: android-7.1.2_r17~1342^2~1^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=453050fdaf7dcd488f399d3549ce257e7b9e7e79;p=android-x86%2Fpackages-apps-Bluetooth.git BT - Not possible to accept incoming obex transfers using key-presses. It is not possible to accept/reject an incoming obex file transfer using key-press. Only touch screen press was working. With this fix, key press down is not ignored and it is possible to accept/reject an incoming obex file transfer with key-press. ST-Ericsson Change ID: ER260817 Change-Id: Ic7f668bd1b0efa549d0218edc8719efee1984941 Signed-off-by: Christian Bejram --- diff --git a/src/com/android/bluetooth/opp/BluetoothOppIncomingFileConfirmActivity.java b/src/com/android/bluetooth/opp/BluetoothOppIncomingFileConfirmActivity.java index fdc332c6..ec0f8b26 100644 --- a/src/com/android/bluetooth/opp/BluetoothOppIncomingFileConfirmActivity.java +++ b/src/com/android/bluetooth/opp/BluetoothOppIncomingFileConfirmActivity.java @@ -171,8 +171,9 @@ public class BluetoothOppIncomingFileConfirmActivity extends AlertActivity imple Toast.makeText(this, getString(R.string.bt_toast_2), Toast.LENGTH_SHORT).show(); finish(); + return true; } - return true; + return false; } @Override