• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright 2017 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.android.autofillframework"
20    android:versionCode="1"
21    android:versionName="1.0">
22
23    <application
24        android:allowBackup="true"
25        android:icon="@mipmap/ic_launcher"
26        android:label="@string/app_name"
27        android:supportsRtl="true"
28        android:theme="@style/Theme.AppCompat.Light">
29        <activity
30            android:name=".app.MainActivity"
31            android:label="AF Main"
32            android:taskAffinity=".MainActivity">
33            <intent-filter>
34                <action android:name="android.intent.action.MAIN" />
35                <category android:name="android.intent.category.LAUNCHER" />
36            </intent-filter>
37        </activity>
38        <activity
39            android:name=".app.StandardSignInActivity"
40            android:label="AF StandardLogin"
41            android:taskAffinity=".StandardSignInActivity">
42        </activity>
43        <activity
44            android:name=".app.StandardAutoCompleteSignInActivity"
45            android:label="AF StandardLogin"
46            android:taskAffinity=".StandardAutoCompleteSignInActivity" />
47        <activity
48            android:name=".app.VirtualSignInActivity"
49            android:label="AF VirtualLogin"
50            android:taskAffinity=".VirtualSignInActivity">
51
52        </activity>
53        <activity android:name=".app.WelcomeActivity" />
54        <activity
55            android:name=".app.CreditCardActivity"
56            android:label="AF CreditCard"
57            android:taskAffinity=".CreditCardActivity">
58        </activity>
59        <!--
60        Including launcher icon for Autofill Settings to convenience.
61        Not necessary for a real service.
62        -->
63        <activity
64            android:name=".multidatasetservice.settings.SettingsActivity"
65            android:exported="true"
66            android:label="@string/settings_name"
67            android:taskAffinity=".SettingsActivity">
68            <intent-filter>
69                <action android:name="android.intent.action.MAIN" />
70                <category android:name="android.intent.category.LAUNCHER" />
71            </intent-filter>
72        </activity>
73
74        <!--
75        Declare AutofillService implementation; only needed for a small number of apps that will
76        be implementing an AutofillService. Framework parses meta-data and sets the service's
77        Settings Activity based on what the meta-data resource points to.
78        -->
79        <service
80            android:name=".multidatasetservice.MyAutofillService"
81            android:permission="android.permission.BIND_AUTOFILL"
82            android:label="Multi-Dataset Autofill Service">
83            <meta-data
84                android:name="android.autofill"
85                android:resource="@xml/multidataset_service" />
86
87            <intent-filter>
88                <action android:name="android.service.autofill.AutofillService" />
89            </intent-filter>
90        </service>
91
92        <activity android:name=".multidatasetservice.AuthActivity" />
93    </application>
94
95</manifest>