summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAshwini Munigala <AshwiniM@codeaurora.org>2013-09-20 20:47:05 +0530
committerAshwini Munigala <AshwiniM@codeaurora.org>2013-09-26 14:47:58 +0530
commitf32eef886d7429dcf07d4499ae970b1e71279b30 (patch)
treeee36baa5446169948c556326c8efc6b17a826c75 /res
parent71841a11bb9cd5734c2cb05d7add28e6fa2257e3 (diff)
downloadandroid_packages_apps_BluetoothExt-f32eef886d7429dcf07d4499ae970b1e71279b30.tar.gz
android_packages_apps_BluetoothExt-f32eef886d7429dcf07d4499ae970b1e71279b30.tar.bz2
android_packages_apps_BluetoothExt-f32eef886d7429dcf07d4499ae970b1e71279b30.zip
OBEX: Avoid BluetoothExt process kill for active MAP or FTP Session.
StartForeground() API during MAP or FTP session CONNECT mark the process in foreground and avoid it being getting killed from Android process management. StopForeground() API for corresponding session DISCONNECT mark it to original priority or background. Ongiong Notifications are supplied to indicate the Acitve FTP or MAP sessions to USER in Status Bar. Change-Id: I177c07e57a7382fced83da906d6a61ee5176e189 CRs-fixed: 547554
Diffstat (limited to 'res')
-rw-r--r--res/values/strings_ftp.xml5
-rw-r--r--res/values/strings_map.xml4
2 files changed, 9 insertions, 0 deletions
diff --git a/res/values/strings_ftp.xml b/res/values/strings_ftp.xml
index 2c75d2f..8381134 100644
--- a/res/values/strings_ftp.xml
+++ b/res/values/strings_ftp.xml
@@ -41,6 +41,11 @@
<!-- Notification message when a Bluetooth device wants to pair with us -->
<string name="ftp_notif_message">"Touch to connect to \u0022<xliff:g id="device_name">%1$s</xliff:g>\u0022."</string>
<!-- Activity label of BluetoothFtpPermissionActivity, also used as Strings in the permission dialog [CHAR LIMIT=none] -->
+ <!--Notification Title for ACTIVE SESSION -->
+ <string name="ftp_notif_active_session">Bluetooth FTP Active Session </string>
+ <!--Notification message for ACTIVE SESSION -->
+ <string name="ftp_notif_connected">"Bluetotoh File Transfer Access to \u0022<xliff:g id="device_name">%1$s</xliff:g>\u0022."</string>
+
<string name="bluetooth_ftp_request">"Ftp request"</string>
<!-- Bluetooth FTP permission Alert Activity text [CHAR LIMIT=none] -->
diff --git a/res/values/strings_map.xml b/res/values/strings_map.xml
index 5ed01c7..2357db8 100644
--- a/res/values/strings_map.xml
+++ b/res/values/strings_map.xml
@@ -36,6 +36,10 @@
<string name="map_acceptance_timeout_message">There was time out to accept connection with %1$s</string>
<string name="map_authentication_timeout_message">There was time out to input session key with %1$s</string>
<string name="map_notif_ticker">Bluetooth connection request</string>
+ <!--Notification Title for ACTIVE SESSION -->
+ <string name="map_notif_active_session">Bluetooth MAP Active Session </string>
+ <!--Notification message for ACTIVE SESSION -->
+ <string name="map_notif_connected">"Bluetooth Message Access to \u0022<xliff:g id="device_name">%1$s</xliff:g>\u0022."</string>
<!-- Notification title when a Bluetooth device wants to pair with us -->
<string name="map_notif_title">Session Key Request for MAP</string>
<!-- Notification message when a Bluetooth device wants to pair with us -->