summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRakesh KrishnaMoorthy <rakeshk@codeaurora.org>2010-11-17 12:07:43 +0530
committerSteve Kondik <shade@chemlab.org>2010-12-01 17:02:25 -0500
commit735a0577eca7a3f0958c61db37a2bcbd2d3ef999 (patch)
treec50c23b2e7e52541c4e5e83a7d8783c336e90ab6
parent3102f31161394aafdc67448e649311a3c2e6a491 (diff)
downloadframeworks_base-735a0577eca7a3f0958c61db37a2bcbd2d3ef999.zip
frameworks_base-735a0577eca7a3f0958c61db37a2bcbd2d3ef999.tar.gz
frameworks_base-735a0577eca7a3f0958c61db37a2bcbd2d3ef999.tar.bz2
Bluetooth : Add support for starting FTP service in BT ON sequence
This change adds a code set to start the FTP service which registers the FTP service records in the SDP database. Change-Id: I5bd11291c686c32044ab186e57b91437e611b725
-rw-r--r--core/java/android/server/BluetoothService.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/server/BluetoothService.java b/core/java/android/server/BluetoothService.java
index 6f6f866..33bcfcd 100644
--- a/core/java/android/server/BluetoothService.java
+++ b/core/java/android/server/BluetoothService.java
@@ -464,6 +464,12 @@ public class BluetoothService extends IBluetooth.Stub {
case 4:
Log.d(TAG, "Registering pbap record");
SystemService.start("pbap");
+ mHandler.sendMessageDelayed(
+ mHandler.obtainMessage(MESSAGE_REGISTER_SDP_RECORDS, 5, -1), 500);
+ break;
+ case 5:
+ Log.d(TAG, "Registering ftp record");
+ SystemService.start("ftp");
break;
}
break;