1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 * Copyright (C) 2024 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 package="android.app.fgsstarttesthelper"> 20 21 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> 22 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> 23 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE"/> 24 25 <application> 26 <receiver android:name="android.app.fgsstarttesthelper.FgsNewLogicTest" 27 android:exported="true"> 28 <intent-filter> 29 <action android:name="ACTION_START_NEW_LOGIC_TEST" /> 30 </intent-filter> 31 </receiver> 32 <!-- The test binds to this service to "un-stop" this package. --> 33 <service android:name="android.app.fgsstarttesthelper.EmptyService" 34 android:exported="true"> 35 </service> 36 <service android:name="android.app.fgsstarttesthelper.FgsNewLogicTest$Fgs" 37 android:foregroundServiceType="specialUse" 38 android:exported="true" 39 android:permission="android.permission.BIND_JOB_SERVICE"> 40 <property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" 41 android:value="foo" /> 42 </service> 43 <!-- TODO Remove it --> 44 <activity android:name="android.app.fgsstarttesthelper.MyActivity" 45 android:exported="true"> 46 <intent-filter> 47 <action android:name="android.intent.action.MAIN" /> 48 <category android:name="android.intent.category.LAUNCHER" /> 49 </intent-filter> 50 </activity> 51 </application> 52 53</manifest> 54