diff options
author | Jaikumar Ganesh <jaikumar@google.com> | 2010-03-11 13:06:54 -0800 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2010-03-17 17:55:02 -0700 |
commit | 20b763a34d1910640084db197be6b458b5b62484 (patch) | |
tree | 73543538ba728cc39b66f44a9db6855ed8b4f9b7 /AndroidManifest_test.xml | |
parent | 2cd80b69baa6c96f1ab759fb45cd98e2cbc5f845 (diff) | |
download | android_packages_apps_Bluetooth-20b763a34d1910640084db197be6b458b5b62484.tar.gz android_packages_apps_Bluetooth-20b763a34d1910640084db197be6b458b5b62484.tar.bz2 android_packages_apps_Bluetooth-20b763a34d1910640084db197be6b458b5b62484.zip |
Add ability to run Bluetooth application in a different process if needed.
Change-Id: I5fa328f2b8fd78986b9a1958e5899feca254f316
Diffstat (limited to 'AndroidManifest_test.xml')
-rw-r--r-- | AndroidManifest_test.xml | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/AndroidManifest_test.xml b/AndroidManifest_test.xml index b6d656807..593682cc6 100644 --- a/AndroidManifest_test.xml +++ b/AndroidManifest_test.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="com.android.bluetooth" > + package="com.android.bluetooth" + android:sharedUserId="@string/sharedUserId"> <!-- Allows access to the Bluetooth Share Manager --> <permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" android:label="@string/permlab_bluetoothShareManager" @@ -16,7 +17,8 @@ <uses-permission android:name="android.permission.READ_CONTACTS" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.WRITE_SETTINGS" /> - <application android:icon="@drawable/bt_share" + <application + android:icon="@drawable/bt_share" android:label="@string/app_name"> <uses-library android:name="javax.obex" /> <activity android:name=".opp.TestActivity" android:label="@string/app_name"> @@ -26,14 +28,17 @@ </intent-filter> </activity> <provider android:name=".opp.BluetoothOppProvider" - android:authorities="com.android.bluetooth.opp"> + android:authorities="com.android.bluetooth.opp" + android:process="@string/process"> <path-permission android:path="/btopp" android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" /> </provider> - <service android:name=".opp.BluetoothOppService" + <service android:process="@string/process" + android:name=".opp.BluetoothOppService" android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" /> - <receiver android:name=".opp.BluetoothOppReceiver"> + <receiver android:process="@string/process" + android:name=".opp.BluetoothOppReceiver"> <intent-filter> <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" /> <action android:name="android.intent.action.BOOT_COMPLETED" /> @@ -85,10 +90,12 @@ <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity> - <service android:name=".pbap.BluetoothPbapService" > + <service android:process="@string/process" + android:name=".pbap.BluetoothPbapService" > <action android:name="android.bluetooth.IBluetoothPbap"/> </service> - <receiver android:name=".pbap.BluetoothPbapReceiver"> + <receiver android:process="@string/process" + android:name=".pbap.BluetoothPbapReceiver"> <intent-filter> <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/> </intent-filter> |