Home | History | Annotate | Download | only in rcsservice
      1 <?xml version="1.0" encoding="utf-8" standalone="no"?>
      2 <!--
      3  * Copyright (c) 2015, Motorola Mobility LLC
      4  * All rights reserved.
      5  *
      6  * Redistribution and use in source and binary forms, with or without
      7  * modification, are permitted provided that the following conditions are met:
      8  *     - Redistributions of source code must retain the above copyright
      9  *       notice, this list of conditions and the following disclaimer.
     10  *     - Redistributions in binary form must reproduce the above copyright
     11  *       notice, this list of conditions and the following disclaimer in the
     12  *       documentation and/or other materials provided with the distribution.
     13  *     - Neither the name of Motorola Mobility nor the
     14  *       names of its contributors may be used to endorse or promote products
     15  *       derived from this software without specific prior written permission.
     16  *
     17  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     18  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
     19  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     20  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MOTOROLA MOBILITY LLC BE LIABLE
     21  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     22  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     23  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     24  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     25  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     26  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
     27  * DAMAGE.
     28 -->
     29 
     30 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     31  xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
     32  android:versionCode="1"
     33  android:versionName="2.4.6"
     34  coreApp="true"
     35  android:sharedUserId="android.uid.phone"
     36  package="com.android.service.ims">
     37 
     38     <uses-sdk android:minSdkVersion="19"/>
     39 
     40     <protected-broadcast android:name="com.android.ims.ACTION_RCS_SERVICE_AVAILABLE" />
     41     <protected-broadcast android:name="com.android.ims.ACTION_RCS_SERVICE_UNAVAILABLE" />
     42     <protected-broadcast android:name="com.android.ims.ACTION_RCS_SERVICE_DIED" />
     43     <protected-broadcast android:name="com.android.ims.ACTION_PRESENCE_CHANGED" />
     44     <protected-broadcast android:name="com.android.ims.ACTION_PUBLISH_STATUS_CHANGED" />
     45     <protected-broadcast android:name="com.android.service.ims.presence.retry" />
     46     <protected-broadcast android:name="com.android.service.ims.presence.task.timeout" />
     47     <protected-broadcast android:name="com.android.service.ims.presence.ims-feature-status-changed" />
     48     <protected-broadcast android:name="com.android.service.ims.presence.retry.publish" />
     49 
     50     <permission
     51         android:name="com.android.ims.rcs.permission.STATUS_CHANGED"
     52         android:protectionLevel="signatureOrSystem" />
     53 
     54     <permission android:name="com.android.ims.permission.PRESENCE_ACCESS"
     55         android:label="@string/ims_presence_permission"
     56         android:description="@string/ims_ims_permission_desc"
     57         android:protectionLevel="signatureOrSystem" />
     58 
     59     <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
     60     <uses-permission android:name="android.permission.BROADCAST_STICKY"/>
     61     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
     62     <uses-permission android:name="com.android.ims.rcs.permission.STATUS_CHANGED"/>
     63     <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
     64     <uses-permission android:name="android.permission.ACCESS_UCE_PRESENCE_SERVICE"/>
     65     <uses-permission android:name="com.android.ims.permission.PRESENCE_ACCESS"/>
     66     <uses-permission android:name="com.android.rcs.eab.permission.READ_WRITE_EAB"/>
     67 
     68     <application android:name="RcsServiceApp" android:persistent="true"
     69         android:process="com.android.ims.rcsservice">
     70         <uses-library android:name="com.android.ims.rcsmanager"
     71             android:required="true"/>
     72 
     73         <service android:name="com.android.service.ims.RcsService"
     74             android:exported="true"
     75             android:enabled="true"
     76             android:permission="com.android.ims.permission.PRESENCE_ACCESS">
     77         </service>
     78 
     79         <receiver android:name="com.android.service.ims.DeviceShutdown"
     80             androidprv:systemUserOnly="true">
     81             <intent-filter>
     82                  <action android:name="android.intent.action.ACTION_SHUTDOWN"/>
     83             </intent-filter>
     84         </receiver>
     85 
     86         <receiver android:name="com.android.service.ims.presence.AlarmBroadcastReceiver"
     87             android:permission="com.android.ims.permission.PRESENCE_ACCESS"
     88              androidprv:systemUserOnly="true">
     89             <intent-filter>
     90                 <action android:name="com.android.service.ims.presence.retry" />
     91             </intent-filter>
     92         </receiver>
     93     </application>
     94 </manifest>
     95