1<?xml version="1.0" encoding="utf-8"?>
2
3<!--
4/*
5 * Copyright (c) 2023 Google Inc.
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 *     http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19-->
20<manifest xmlns:android="http://schemas.android.com/apk/res/android"
21    package="com.android.credentialmanager">
22
23    <uses-feature android:name="android.hardware.type.watch" />
24
25    <uses-permission android:name="android.permission.LAUNCH_CREDENTIAL_SELECTOR" />
26    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
27    <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" />
28
29    <application
30        android:name=".CredentialSelectorApp"
31        android:allowBackup="true"
32        android:dataExtractionRules="@xml/data_extraction_rules"
33        android:fullBackupContent="@xml/backup_rules"
34        android:label="@string/app_name"
35        android:supportsRtl="true">
36
37        <!-- Activity called by GMS has to be exactly:
38        com.android.credentialmanager.CredentialSelectorActivity -->
39        <activity
40            android:name=".CredentialSelectorActivity"
41            android:excludeFromRecents="true"
42            android:exported="true"
43            android:label="@string/app_name"
44            android:launchMode="singleTop"
45            android:permission="android.permission.LAUNCH_CREDENTIAL_SELECTOR" />
46    </application>
47
48</manifest>
49