Thomas Stuart | b9694ff | 2022-09-27 15:02:26 -0700 | [diff] [blame] | 1 | <?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 Stuart | 22c4eb5 | 2023-04-13 13:34:28 -0700 | [diff] [blame] | 18 | coreApp="true" |
| 19 | package="com.android.server.telecom.transactionalVoipApp"> |
Thomas Stuart | b9694ff | 2022-09-27 15:02:26 -0700 | [diff] [blame] | 20 | |
| 21 | <uses-sdk android:minSdkVersion="28" |
Thomas Stuart | 22c4eb5 | 2023-04-13 13:34:28 -0700 | [diff] [blame] | 22 | android:targetSdkVersion="33"/> |
Thomas Stuart | b9694ff | 2022-09-27 15:02:26 -0700 | [diff] [blame] | 23 | |
Thomas Stuart | 22c4eb5 | 2023-04-13 13:34:28 -0700 | [diff] [blame] | 24 | <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 Stuart | b9694ff | 2022-09-27 15:02:26 -0700 | [diff] [blame] | 32 | |
| 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 Stuart | 22c4eb5 | 2023-04-13 13:34:28 -0700 | [diff] [blame] | 40 | <action android:name="android.intent.action.MAIN"/> |
| 41 | <category android:name="android.intent.category.LAUNCHER"/> |
Thomas Stuart | b9694ff | 2022-09-27 15:02:26 -0700 | [diff] [blame] | 42 | </intent-filter> |
| 43 | </activity> |
| 44 | |
Thomas Stuart | 22c4eb5 | 2023-04-13 13:34:28 -0700 | [diff] [blame] | 45 | <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 Stuart | b9694ff | 2022-09-27 15:02:26 -0700 | [diff] [blame] | 61 | </application> |
| 62 | </manifest> |