1<!--
2  ~ Copyright (C) 2017 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<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17  package="com.android.voicemail">
18
19  <uses-sdk
20    android:minSdkVersion="24"
21    android:targetSdkVersion="29"/>
22
23  <!-- Applications using this module should merge these permissions using android_manifest_merge -->
24
25  <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"/>
26  <uses-permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
27  <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL"/>
28  <uses-permission android:name="android.permission.WAKE_LOCK"/>
29  <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
30  <uses-permission android:name="android.permission.SEND_SMS"/>
31  <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
32  <uses-permission android:name="android.permission.INTERNET"/>
33  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
34
35  <application>
36    <receiver
37        android:name=".VoicemailSecretCodeReceiver"
38        android:exported="true">
39      <intent-filter>
40        <action android:name="android.provider.Telephony.SECRET_CODE" />
41        <data android:scheme="android_secret_code" />
42      </intent-filter>
43    </receiver>
44
45    <receiver android:name="com.android.voicemail.VoicemailPowerCycleReceiver"
46        android:exported="false">
47      <intent-filter>
48        <action android:name="android.intent.action.BOOT_COMPLETED" />
49        <action android:name="android.intent.action.ACTION_SHUTDOWN" />
50      </intent-filter>
51    </receiver>
52  </application>
53</manifest>
54