1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 * Copyright (C) 2014 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="com.android.cts.launcherapps.simpleapp"> 20 21 <uses-permission android:name="android.permission.READ_CONTACTS"/> 22 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> 23 24 <application> 25 <activity android:name=".SimpleActivity" > 26 <intent-filter> 27 <action android:name="android.intent.action.MAIN" /> 28 <category android:name="android.intent.category.LAUNCHER" /> 29 </intent-filter> 30 </activity> 31 <activity android:name=".NonExportedActivity"> 32 android:exported="false"> 33 </activity> 34 <activity android:name=".NonLauncherActivity"> 35 android:exported="true"> 36 </activity> 37 <activity android:name=".SimpleActivityStartService" android:exported="true" /> 38 <activity android:name=".SimpleActivityImmediateExit" > 39 <intent-filter> 40 <action android:name="android.intent.action.MAIN" /> 41 <category android:name="android.intent.category.LAUNCHER" /> 42 </intent-filter> 43 </activity> 44 <activity android:name=".SimpleActivityChainExit" > 45 <intent-filter> 46 <action android:name="android.intent.action.MAIN" /> 47 <category android:name="android.intent.category.LAUNCHER" /> 48 </intent-filter> 49 </activity> 50 <service android:name=".SimpleService" android:exported="true"> 51 </service> 52 <service android:name=".SimpleService2" android:exported="true" android:process=":other"> 53 </service> 54 <receiver android:name=".SimpleReceiverStartService" android:exported="true"> 55 </receiver> 56 <receiver android:name=".SimpleReceiver" android:exported="true"> 57 </receiver> 58 <receiver android:name=".SimpleRemoteReceiver" android:process=":receiver" 59 android:exported="true"> 60 </receiver> 61 </application> 62 63 </manifest> 64 65