1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright (C) 2021 The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *     http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<manifest
20    xmlns:android="http://schemas.android.com/apk/res/android"
21    package="com.android.sdksandbox"
22    android:versionCode="1"
23    android:versionName="T-initial">
24
25    <uses-sdk
26        android:minSdkVersion="33"/>
27
28    <!-- @hide @TestApi -->
29    <permission android:name="com.android.app.sdksandbox.permission.STOP_SDK_SANDBOX"
30                android:protectionLevel="normal" />
31
32    <uses-permission android:name="android.permission.INTERNET"/>
33    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
34    <uses-permission android:name="android.permission.READ_BASIC_PHONE_STATE"/>
35
36    <!-- Permissions to access PP APIs. -->
37    <uses-permission android:name="android.permission.ACCESS_ADSERVICES_AD_ID" />
38    <uses-permission android:name="android.permission.ACCESS_ADSERVICES_TOPICS" />
39    <uses-permission android:name="android.permission.ACCESS_ADSERVICES_ATTRIBUTION" />
40    <uses-permission android:name="android.permission.ACCESS_ADSERVICES_CUSTOM_AUDIENCE" />
41
42    <application
43          android:usesNonSdkApi="false"
44          android:forceQueryable="true"
45          android:allowBackup="false"
46          android:networkSecurityConfig="@xml/network_security_config">
47        <activity
48            android:name=".SandboxedActivity"
49            android:exported="true"
50            android:enableOnBackInvokedCallback="true">
51            <intent-filter>
52                <action android:name="android.app.sdksandbox.action.START_SANDBOXED_ACTIVITY" />
53                <category android:name="android.intent.category.DEFAULT" />
54            </intent-filter>
55        </activity>
56        <service android:name=".SdkSandboxServiceImpl" android:exported="true">
57            <intent-filter>
58                <action android:name="com.android.sdksandbox.SdkSandboxService"/>
59            </intent-filter>
60        </service>
61        <property android:name="android.internal.PROPERTY_NO_APP_DATA_STORAGE"
62                  android:value="true" />
63    </application>
64
65</manifest>
66