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="com.example.adservices.samples.ui.sampletestapp"> 20 <uses-permission android:name="android.permission.MODIFY_ADSERVICES_STATE" /> 21 <application android:debuggable="true" 22 android:allowBackup="true" 23 android:label="@string/app_name" 24 android:supportsRtl="true" 25 android:sharedUserId ="android.uid.system" 26 android:protectionLevel="signature|configurator" 27 android:description="@string/app_description" 28 android:theme="@style/Theme.AppCompat"> 29 <uses-library android:name="android.ext.adservices" android:required="false"/> 30 31 <receiver 32 android:name="com.example.adservices.samples.ui.sampletestapp.MyBroadcastReceiver" 33 android:enabled="true" 34 android:exported="true"> 35 <intent-filter> 36 <action android:name="android.adservices.common.action.ADSERVICES_NOTIFICATION_DISPLAYED" /> 37 </intent-filter> 38 </receiver> 39 40 <activity 41 android:name="com.example.adservices.samples.ui.sampletestapp.MainActivity" 42 android:exported="true"> 43 <intent-filter> 44 <action 45 android:name="android.adservices.common.action.VIEW_ADSERVICES_CONSENT_PAGE"/> 46 <category android:name="android.intent.category.DEFAULT"/> 47 </intent-filter> 48 </activity> 49 </application> 50 51</manifest> 52