Home | History | Annotate | Download | only in Bluetooth
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      3   package="com.android.bluetooth"
      4   android:sharedUserId="@string/sharedUserId">
      5     <!-- Allows access to the Bluetooth Share Manager -->
      6     <permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE"
      7         android:label="@string/permlab_bluetoothShareManager"
      8         android:description="@string/permdesc_bluetoothShareManager"
      9         android:protectionLevel="signature" />
     10     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
     11     <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" />
     12     <uses-permission android:name="android.permission.INTERNET" />
     13     <uses-permission android:name="android.permission.BLUETOOTH" />
     14     <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
     15     <uses-permission android:name="android.permission.WAKE_LOCK" />
     16     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     17     <uses-permission android:name="android.permission.READ_CONTACTS" />
     18     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
     19     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
     20     <application
     21         android:icon="@mipmap/bt_share"
     22         android:label="@string/app_name">
     23         <uses-library android:name="javax.obex" />
     24         <activity android:name=".opp.TestActivity" android:label="@string/app_name">
     25             <intent-filter>
     26                 <action android:name="android.intent.action.MAIN" />
     27                 <category android:name="android.intent.category.LAUNCHER" />
     28             </intent-filter>
     29         </activity>
     30         <provider android:name=".opp.BluetoothOppProvider"
     31             android:authorities="com.android.bluetooth.opp"
     32             android:process="@string/process">
     33             <path-permission
     34                     android:path="/btopp"
     35                     android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
     36         </provider>
     37         <service android:process="@string/process"
     38             android:name=".opp.BluetoothOppService"
     39             android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
     40         <receiver android:process="@string/process"
     41               android:name=".opp.BluetoothOppReceiver">
     42             <intent-filter>
     43                 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
     44                 <action android:name="android.intent.action.BOOT_COMPLETED" />
     45             </intent-filter>
     46         </receiver>
     47         <activity android:name=".opp.BluetoothOppLauncherActivity"
     48             android:process="@string/process"
     49             android:theme="@*android:style/Theme.Material.DayNight.Dialog"
     50             android:label="@string/bt_share_picker_label">
     51             <intent-filter>
     52                 <action android:name="android.intent.action.SEND" />
     53                 <category android:name="android.intent.category.DEFAULT" />
     54                 <data android:mimeType="image/*" />
     55                 <data android:mimeType="video/*" />
     56                 <data android:mimeType="audio/*" />
     57             </intent-filter>
     58             <intent-filter>
     59                 <action android:name="android.intent.action.SEND_MULTIPLE" />
     60                 <category android:name="android.intent.category.DEFAULT" />
     61                 <data android:mimeType="image/*" />
     62                 <data android:mimeType="video/*" />
     63                 <data android:mimeType="x-mixmedia/*" />
     64             </intent-filter>
     65             <intent-filter>
     66                 <action android:name="android.btopp.intent.action.OPEN" />
     67                 <category android:name="android.intent.category.DEFAULT" />
     68                 <data android:mimeType="vnd.android.cursor.item/vnd.android.btopp" />
     69             </intent-filter>
     70         </activity>
     71         <activity android:name=".opp.BluetoothOppBtEnableActivity"
     72             android:process="@string/process">
     73         </activity>
     74         <activity android:name=".opp.BluetoothOppBtErrorActivity"
     75           android:process="@string/process">
     76         </activity>
     77         <activity android:name=".opp.BluetoothOppBtEnablingActivity"
     78             android:process="@string/process"
     79             android:theme="@*android:style/Theme.Material.DayNight.Dialog">
     80         </activity>
     81         <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity"
     82             android:process="@string/process">
     83         </activity>
     84         <activity android:name=".opp.BluetoothOppTransferActivity"
     85             android:process="@string/process">
     86         </activity>
     87         <activity android:name=".pbap.BluetoothPbapActivity"
     88             android:process="@string/process"
     89             android:label=" "
     90             android:theme="@*android:style/Theme.Material.DayNight.Dialog.Alert">
     91             <intent-filter>
     92                 <category android:name="android.intent.category.DEFAULT" />
     93             </intent-filter>
     94         </activity>
     95         <service android:process="@string/process"
     96               android:name=".pbap.BluetoothPbapService" >
     97             <action android:name="android.bluetooth.IBluetoothPbap"/>
     98         </service>
     99         <receiver android:process="@string/process"
    100               android:name=".pbap.BluetoothPbapReceiver">
    101             <intent-filter>
    102                 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/>
    103             </intent-filter>
    104         </receiver>
    105     </application>
    106 </manifest>
    107