• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
26        android:label="ImsTestService"
27        android:directBootAware="true">
28        <activity
29            android:name=".ImsTestServiceApp"
30            android:label="ImsTestService">
31            <intent-filter>
32                <action android:name="android.intent.action.MAIN" />
33                <category android:name="android.intent.category.DEFAULT" />
34                <category android:name="android.intent.category.LAUNCHER" />
35            </intent-filter>
36        </activity>
37
38        <activity android:name=".ImsRegistrationActivity" android:label="IMS Registration" />
39        <activity android:name=".ImsCallingActivity" android:label="IMS Calling" />
40        <activity android:name=".ImsConfigActivity" android:label="IMS Config" />
41
42        <service android:name=".TestImsService"
43                 android:exported="true"
44                 android:enabled="true"
45                 android:persistent="true"
46                 android:permission="android.permission.BIND_IMS_SERVICE">
47            <!--meta-data android:name="android.telephony.ims.MMTEL_FEATURE" android:value="true"/-->
48            <!-- No features means we will get queried for dynamic config. -->
49            <intent-filter>
50                <action android:name="android.telephony.ims.ImsService" />
51            </intent-filter>
52        </service>
53    </application>
54</manifest>
55
56