blob: e4968dbe23df6c80171842c8138c3a8f9b00a4f1 [file] [log] [blame]
Thomas Stuartb9694ff2022-09-27 15:02:26 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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"
Thomas Stuart22c4eb52023-04-13 13:34:28 -070018 coreApp="true"
19 package="com.android.server.telecom.transactionalVoipApp">
Thomas Stuartb9694ff2022-09-27 15:02:26 -070020
21 <uses-sdk android:minSdkVersion="28"
Thomas Stuart22c4eb52023-04-13 13:34:28 -070022 android:targetSdkVersion="33"/>
Thomas Stuartb9694ff2022-09-27 15:02:26 -070023
Thomas Stuart22c4eb52023-04-13 13:34:28 -070024 <uses-permission android:name="android.permission.MANAGE_OWN_CALLS"/>
25 <!-- Needed to test media/audio -->
26 <uses-permission android:name="android.permission.RECORD_AUDIO"/>
27 <!-- Needed for foreground services -->
28 <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT"/>
29 <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
30 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
31 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL"/>
Thomas Stuartb9694ff2022-09-27 15:02:26 -070032
33 <application android:label="Transactional Voip">
34 <uses-library android:name="android.test.runner"/>
35
36 <activity android:name="com.android.server.telecom.transactionalVoipApp.VoipAppMainActivity"
37 android:exported="true"
38 android:label="Transactional Voip">
39 <intent-filter>
Thomas Stuart22c4eb52023-04-13 13:34:28 -070040 <action android:name="android.intent.action.MAIN"/>
41 <category android:name="android.intent.category.LAUNCHER"/>
Thomas Stuartb9694ff2022-09-27 15:02:26 -070042 </intent-filter>
43 </activity>
44
Thomas Stuart22c4eb52023-04-13 13:34:28 -070045 <activity android:name="com.android.server.telecom.transactionalVoipApp.InCallActivity"
46 android:exported="true"
47 android:launchMode="singleInstance"
48 android:label="InCall VoIP Activity">
49 <intent-filter>
50 <action android:name="android.intent.action.MAIN"/>
51 <category android:name="android.intent.category.LAUNCHER"/>
52 </intent-filter>
53 </activity>
54
55 <service
56 android:name=".BackgroundIncomingCallService"
57 android:foregroundServiceType="phoneCall"
58 android:exported="false"
59 />
60
Thomas Stuartb9694ff2022-09-27 15:02:26 -070061 </application>
62</manifest>