Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 591df74a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add an exported flag in manifest"

parents d4220355 7f0936cb
Loading
Loading
Loading
Loading
+286 −292
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.android.bluetooth"
     android:sharedUserId="android.uid.bluetooth">
@@ -74,8 +75,7 @@

    <!-- For PBAP Owner Vcard Info -->
    <uses-permission android:name="android.permission.READ_PROFILE"/>
    <application
        android:name=".btservice.AdapterApp"
    <application android:name=".btservice.AdapterApp"
         android:icon="@mipmap/bt_share"
         android:persistent="false"
         android:label="@string/app_name"
@@ -88,32 +88,28 @@
             android:authorities="com.android.bluetooth.opp"
             android:exported="true"
             android:process="@string/process">
            <path-permission
                    android:pathPrefix="/btopp"
            <path-permission android:pathPrefix="/btopp"
                 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE"/>
        </provider>
        <provider android:name=".opp.BluetoothOppFileProvider"
             android:authorities="com.android.bluetooth.opp.fileprovider"
             android:grantUriPermissions="true"
             android:exported="false">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
            <meta-data android:name="android.support.FILE_PROVIDER_PATHS"
                 android:resource="@xml/file_paths"/>
        </provider>
        <service
            android:process="@string/process"
            android:name = ".btservice.AdapterService">
        <service android:process="@string/process"
             android:name=".btservice.AdapterService"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetooth"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".opp.BluetoothOppService"
             android:permission="android.permission.ACCESS_BLUETOOTH_SHARE"
             android:enabled="@bool/profile_supported_opp"/>
        <receiver
            android:process="@string/process"
        <receiver android:process="@string/process"
             android:exported="true"
             android:name=".opp.BluetoothOppReceiver"
             android:enabled="@bool/profile_supported_opp">
@@ -121,10 +117,10 @@
                <action android:name="android.btopp.intent.action.OPEN_RECEIVED_FILES"/>
            </intent-filter>
        </receiver>
         <receiver
            android:process="@string/process"
         <receiver android:process="@string/process"
              android:name=".opp.BluetoothOppHandoverReceiver"
            android:permission="com.android.permission.WHITELIST_BLUETOOTH_DEVICE">
              android:permission="com.android.permission.WHITELIST_BLUETOOTH_DEVICE"
              android:exported="true">
            <intent-filter>
                <action android:name="android.btopp.intent.action.WHITELIST_DEVICE"/>
                <action android:name="android.btopp.intent.action.STOP_HANDOVER_TRANSFER"/>
@@ -144,7 +140,8 @@
             android:process="@string/process"
             android:theme="@android:style/Theme.Material.Light.Dialog"
             android:label="@string/bt_share_picker_label"
            android:enabled="@bool/profile_supported_opp">
             android:enabled="@bool/profile_supported_opp"
             android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.SEND"/>
                <category android:name="android.intent.category.DEFAULT"/>
@@ -216,7 +213,8 @@
             android:excludeFromRecents="true"
             android:configChanges="orientation|keyboardHidden"
             android:enabled="@bool/profile_supported_opp"
                  android:theme="@android:style/Theme.DeviceDefault.Settings">
             android:theme="@android:style/Theme.DeviceDefault.Settings"
             android:exported="true">
            <intent-filter>
                <action android:name="com.android.bluetooth.action.TransferHistory"/>
                <category android:name="android.intent.category.DEFAULT"/>
@@ -228,19 +226,19 @@
             android:theme="@android:style/Theme.Material.Light.Dialog.Alert"
             android:enabled="@bool/profile_supported_pbap">
        </activity>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:permission="android.permission.BLUETOOTH_PRIVILEGED"
             android:name=".pbap.BluetoothPbapService"
            android:enabled="@bool/profile_supported_pbap" >
             android:enabled="@bool/profile_supported_pbap"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothPbap"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".map.BluetoothMapService"
            android:enabled="@bool/profile_supported_map" >
             android:enabled="@bool/profile_supported_map"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothMap"/>
                <action android:name="android.btmap.intent.action.SHOW_MAPS_SETTINGS"/>
@@ -260,56 +258,55 @@
             android:grantUriPermissions="true"
             android:exported="false">
        </provider>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".mapclient.MapClientService"
            android:enabled="@bool/profile_supported_mapmce" >
             android:enabled="@bool/profile_supported_mapmce"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothMapClient"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".sap.SapService"
            android:enabled="@bool/profile_supported_sap" >
             android:enabled="@bool/profile_supported_sap"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothSap"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".gatt.GattService"
            android:enabled="@bool/profile_supported_gatt">
             android:enabled="@bool/profile_supported_gatt"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothGatt"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".hfp.HeadsetService"
            android:enabled="@bool/profile_supported_hs_hfp">
             android:enabled="@bool/profile_supported_hs_hfp"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothHeadset"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".a2dp.A2dpService"
            android:enabled="@bool/profile_supported_a2dp">
             android:enabled="@bool/profile_supported_a2dp"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothA2dp"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".a2dpsink.A2dpSinkService"
            android:enabled="@bool/profile_supported_a2dp_sink">
             android:enabled="@bool/profile_supported_a2dp_sink"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothA2dpSink"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".avrcpcontroller.BluetoothMediaBrowserService"
             android:exported="true"
             android:enabled="@bool/profile_supported_a2dp_sink"
@@ -319,8 +316,7 @@
            </intent-filter>
        </service>

        <activity
            android:name=".BluetoothPrefs"
        <activity android:name=".BluetoothPrefs"
             android:exported="@bool/profile_supported_a2dp_sink"
             android:enabled="@bool/profile_supported_a2dp_sink">
            <intent-filter>
@@ -328,18 +324,18 @@
            </intent-filter>
        </activity>

        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".avrcp.AvrcpTargetService"
            android:enabled = "@bool/profile_supported_avrcp_target" >
             android:enabled="@bool/profile_supported_avrcp_target"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothAvrcp"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".avrcpcontroller.AvrcpControllerService"
            android:enabled="@bool/profile_supported_avrcp_controller">
             android:enabled="@bool/profile_supported_avrcp_controller"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothAvrcpController"/>
            </intent-filter>
@@ -351,74 +347,72 @@
             android:grantUriPermissions="true"
             android:exported="true">
        </provider>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".hid.HidHostService"
            android:enabled="@bool/profile_supported_hid_host">
             android:enabled="@bool/profile_supported_hid_host"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothHidHost"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".hid.HidDeviceService"
            android:enabled="@bool/profile_supported_hid_device">
             android:enabled="@bool/profile_supported_hid_device"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothHidDevice"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".pan.PanService"
            android:enabled="@bool/profile_supported_pan">
             android:enabled="@bool/profile_supported_pan"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothPan"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".hfpclient.HeadsetClientService"
            android:enabled="@bool/profile_supported_hfpclient">
             android:enabled="@bool/profile_supported_hfpclient"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothHeadsetClient"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".hfpclient.connserv.HfpClientConnectionService"
             android:permission="android.permission.BIND_CONNECTION_SERVICE"
            android:enabled="@bool/hfp_client_connection_service_enabled">
             android:enabled="@bool/hfp_client_connection_service_enabled"
             android:exported="true">
            <intent-filter>
                <!-- Mechanism for Telecom stack to connect -->
                <action android:name="android.telecom.ConnectionService"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".pbapclient.PbapClientService"
            android:enabled="@bool/profile_supported_pbapclient">
             android:enabled="@bool/profile_supported_pbapclient"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothPbapClient"/>
            </intent-filter>
        </service>
        <service
            android:process="@string/process"
            android:name = ".hearingaid.HearingAidService">
        <service android:process="@string/process"
             android:name=".hearingaid.HearingAidService"
             android:exported="true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothHearingAid"/>
            </intent-filter>
        </service>
        <!-- Authenticator for PBAP account. -->
        <service
            android:process="@string/process"
        <service android:process="@string/process"
             android:name=".pbapclient.AuthenticationService"
             android:exported="true"
             android:enabled="@bool/profile_supported_pbapclient">
            <intent-filter>
                <action android:name="android.accounts.AccountAuthenticator"/>
            </intent-filter>
            <meta-data
                android:name="android.accounts.AccountAuthenticator"
            <meta-data android:name="android.accounts.AccountAuthenticator"
                 android:resource="@xml/authenticator"/>
        </service>
    </application>