diff options
author | Srinu Jella <sjella@codeaurora.org> | 2013-07-15 18:50:20 +0530 |
---|---|---|
committer | Srinu Jella <sjella@codeaurora.org> | 2013-07-19 13:20:22 +0530 |
commit | 773e51d3177e3c037b967a0f68406bc58e7b143d (patch) | |
tree | 839667aadcd383cec69ec8fd2f91489275ee84a9 /res | |
parent | 74e095d9c3f4299c58444dd6a2869165ef337640 (diff) | |
download | android_packages_apps_BluetoothExt-773e51d3177e3c037b967a0f68406bc58e7b143d.tar.gz android_packages_apps_BluetoothExt-773e51d3177e3c037b967a0f68406bc58e7b143d.tar.bz2 android_packages_apps_BluetoothExt-773e51d3177e3c037b967a0f68406bc58e7b143d.zip |
Bluetooth: SAP: Introduce SAP profile support to BluetoothExt APK
This Change consists of:
- Read SAP requests from Rfcomm channel and pass them to SAP server
- Read the responses from SAP server and route them to Rfcomm channel
- Authorization changes
- SAP profile Connection status notification
Change-Id: Ib692ef28ab5009346f9a3b6e44cb9b3b6c3f2bfa
Diffstat (limited to 'res')
-rw-r--r-- | res/values/config.xml | 1 | ||||
-rw-r--r-- | res/values/strings_sap.xml | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml index 53fd463..ce26ba4 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -15,4 +15,5 @@ <resources> <bool name="profile_supported_ftp">true</bool> <bool name="profile_supported_map">true</bool> + <bool name="profile_supported_sap">true</bool> </resources> diff --git a/res/values/strings_sap.xml b/res/values/strings_sap.xml new file mode 100644 index 0000000..0ccaaaa --- /dev/null +++ b/res/values/strings_sap.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright (c) 2011-2013, The Linux Foundation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of The Linux Foundation nor + * the names of its contributors may be used to endorse or promote + * products derived from this software without specific prior written + * permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; + * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <string name="sap_notif_ticker">Bluetooth SIM Access request</string> + <!-- Notification title when a Bluetooth device wants to pair with us --> + <string name="sap_notif_title">Session Key Request for SAP</string> + <!-- Notification message when a Bluetooth device wants to pair with us --> + <string name="sap_notif_message">"Touch to connect to \u0022<xliff:g id="device_name">%1$s</xliff:g>\u0022."</string> + <string name="sap_acceptance_timeout_message">There was time out to accept connection with %1$s</string> + <!-- Activity label of BluetoothSapPermissionActivity, also used as Strings in the permission dialog [CHAR LIMIT=none] --> + <string name="bluetooth_sap_request">"SAP request"</string> + <!-- Bluetooth SAP permission Alert Activity text [CHAR LIMIT=none] --> + <string name="bluetooth_sap_acceptance_dialog_text">%1$s would like to access your SIM. Give access to %2$s?</string> + +</resources> |