1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2017 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19     coreApp="true"
20     package="com.android.phone.testapps.imstestapp">
21    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
22    <!--Beware, declaring the below permission will cause the device to not boot unless you add
23        this app and permission to frameworks/base/data/etc/privapp-permissions-platform.xml-->
24    <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
25    <application android:label="ImsTestService"
26         android:directBootAware="true">
27        <activity android:name=".ImsTestServiceApp"
28             android:label="ImsTestService"
29             android:exported="true">
30            <intent-filter>
31                <action android:name="android.intent.action.MAIN"/>
32                <category android:name="android.intent.category.DEFAULT"/>
33                <category android:name="android.intent.category.LAUNCHER"/>
34            </intent-filter>
35        </activity>
36
37        <activity android:name=".ImsRegistrationActivity"
38             android:label="IMS Registration"/>
39        <activity android:name=".ImsCallingActivity"
40             android:label="IMS Calling"/>
41        <activity android:name=".ImsConfigActivity"
42             android:label="IMS Config"/>
43
44        <service android:name=".TestImsService"
45             android:exported="true"
46             android:enabled="true"
47             android:persistent="true"
48             android:permission="android.permission.BIND_IMS_SERVICE">
49            <!--meta-data android:name="android.telephony.ims.MMTEL_FEATURE"
50                 android:value="true"/-->
51            <!-- No features means we will get queried for dynamic config. -->
52            <intent-filter>
53                <action android:name="android.telephony.ims.ImsService"/>
54            </intent-filter>
55        </service>
56    </application>
57</manifest>
58