Home | History | Annotate | Download | only in impl
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2007 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     18   package="com.android.voicemailomtp">
     19 
     20   <application
     21     android:allowBackup="false"
     22     android:supportsRtl="true"
     23     android:usesCleartextTraffic="true"
     24     android:defaultToDeviceProtectedStorage="true"
     25     android:directBootAware="true">
     26 
     27     <!-- Causes the "Voicemail" item under "Calls" setting to be hidden. The voicemail module will
     28       be handling the settings. Has no effect before OC where dialer cannot provide voicemail
     29       settings-->
     30     <meta-data android:name="android.telephony.HIDE_VOICEMAIL_SETTINGS_MENU" android:value="true"/>
     31 
     32     <receiver
     33       android:name="com.android.voicemail.impl.sms.OmtpMessageReceiver"
     34       android:exported="false"
     35       android:directBootAware="true">
     36       <intent-filter>
     37         <action android:name="com.android.vociemailomtp.sms.sms_received"/>
     38       </intent-filter>
     39     </receiver>
     40 
     41     <receiver android:name="com.android.voicemail.impl.VoicemailClientReceiver"
     42       android:exported="false">
     43       <intent-filter>
     44         <action android:name="com.android.voicemail.VoicemailClient.ACTION_UPLOAD"/>
     45       </intent-filter>
     46     </receiver>
     47 
     48     <receiver
     49       android:name="com.android.voicemail.impl.fetch.FetchVoicemailReceiver"
     50       android:exported="true"
     51       android:permission="com.android.voicemail.permission.READ_VOICEMAIL">
     52       <intent-filter>
     53         <action android:name="android.intent.action.FETCH_VOICEMAIL"/>
     54         <data
     55           android:scheme="content"
     56           android:host="com.android.voicemail"
     57           android:mimeType="vnd.android.cursor.item/voicemail"/>
     58       </intent-filter>
     59     </receiver>
     60     <receiver
     61       android:name="com.android.voicemail.impl.sync.OmtpVvmSyncReceiver"
     62       android:exported="true"
     63       android:permission="com.android.voicemail.permission.READ_VOICEMAIL">
     64       <intent-filter>
     65         <action android:name="android.provider.action.SYNC_VOICEMAIL"/>
     66       </intent-filter>
     67     </receiver>
     68     <receiver
     69       android:name="com.android.voicemail.impl.sync.VoicemailProviderChangeReceiver"
     70       android:exported="true">
     71       <intent-filter>
     72         <action android:name="android.intent.action.PROVIDER_CHANGED"/>
     73         <data
     74           android:scheme="content"
     75           android:host="com.android.voicemail"
     76           android:mimeType="vnd.android.cursor.dir/voicemails"/>
     77       </intent-filter>
     78     </receiver>
     79 
     80     <receiver
     81       android:name="com.android.voicemail.impl.scheduling.TaskReceiver"
     82       android:exported="false"/>
     83 
     84     <service
     85         android:name="com.android.voicemail.impl.scheduling.TaskSchedulerJobService"
     86         android:permission="android.permission.BIND_JOB_SERVICE"
     87         android:exported="false"/>
     88 
     89     <service
     90         android:name="com.android.voicemail.impl.StatusCheckJobService"
     91         android:permission="android.permission.BIND_JOB_SERVICE"
     92         android:exported="false"/>
     93 
     94     <service
     95         android:name="com.android.voicemail.impl.DeviceProvisionedJobService"
     96         android:permission="android.permission.BIND_JOB_SERVICE"
     97         android:exported="false"/>
     98 
     99     <service
    100         android:name="com.android.voicemail.impl.OmtpService"
    101         android:permission="android.permission.BIND_VISUAL_VOICEMAIL_SERVICE"
    102         android:exported="true"
    103         android:directBootAware="true">
    104       <intent-filter>
    105         <action android:name="android.telephony.VisualVoicemailService"/>
    106       </intent-filter>
    107     </service>
    108 
    109     <activity
    110       android:name="com.android.voicemail.impl.settings.VoicemailChangePinActivity"
    111       android:exported="false"
    112       android:windowSoftInputMode="stateVisible|adjustResize">
    113     </activity>
    114 
    115     <receiver android:name="com.android.voicemail.impl.VoicemailBootReceiver"
    116       android:exported="false">
    117       <intent-filter>
    118         <action android:name="android.intent.action.BOOT_COMPLETED" />
    119       </intent-filter>
    120     </receiver>
    121 
    122     <receiver android:name="com.android.voicemail.impl.CarrierVvmPackageInstalledReceiver"
    123         android:permission="android.permission.BIND_VISUAL_VOICEMAIL_SERVICE"
    124         android:exported="true">
    125       <intent-filter>
    126         <!-- system dialer only broadcast -->
    127         <action
    128             android:name="com.android.internal.telephony.CARRIER_VVM_PACKAGE_INSTALLED" />
    129       </intent-filter>
    130     </receiver>
    131   </application>
    132 </manifest>
    133