OSDN Git Service

BT - Not possible to accept incoming obex transfers using key-presses.
authorWojciech Jowsa <wojciech.jowsa@stericsson.com>
Mon, 17 May 2010 15:02:06 +0000 (17:02 +0200)
committerChristian Bejram <christian.bejram@stericsson.com>
Sun, 26 Sep 2010 12:38:04 +0000 (14:38 +0200)
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 <christian.bejram@stericsson.com>
src/com/android/bluetooth/opp/BluetoothOppIncomingFileConfirmActivity.java

index fdc332c..ec0f8b2 100644 (file)
@@ -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