• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?><!--
2 Copyright 2017 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8     http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18    package="com.example.android.autofillframework"
19    android:versionCode="1"
20    android:versionName="1.0">
21
22    <application
23        android:allowBackup="true"
24        android:icon="@mipmap/ic_launcher"
25        android:label="@string/app_name"
26        android:supportsRtl="true"
27        android:theme="@style/Theme.AppCompat.Light">
28        <activity
29            android:name=".app.MainActivity"
30            android:taskAffinity=".MainActivity">
31            <intent-filter>
32                <action android:name="android.intent.action.MAIN" />
33                <category android:name="android.intent.category.LAUNCHER" />
34            </intent-filter>
35        </activity>
36        <activity
37            android:name=".app.StandardSignInActivity"
38            android:taskAffinity=".StandardSignInActivity" />
39        <activity
40            android:name=".app.StandardAutoCompleteSignInActivity"
41            android:taskAffinity=".StandardAutoCompleteSignInActivity" />
42        <activity
43            android:name=".app.VirtualSignInActivity"
44            android:taskAffinity=".VirtualSignInActivity" />
45        <activity android:name=".app.WelcomeActivity" />
46        <activity
47            android:name=".app.CreditCardActivity"
48            android:taskAffinity=".CreditCardActivity" />
49        <activity
50            android:name=".app.EmailComposeActivity"
51            android:taskAffinity=".EmailComposeActivity" />
52        <activity
53            android:name=".app.CreditCardCompoundViewActivity"
54            android:taskAffinity=".CreditCardCompoundViewActivity" />
55        <!--
56        Including launcher icon for Autofill Settings to convenience.
57        Not necessary for a real service.
58        -->
59        <activity
60            android:name=".multidatasetservice.settings.SettingsActivity"
61            android:exported="true"
62            android:label="@string/settings_name"
63            android:taskAffinity=".SettingsActivity">
64            <intent-filter>
65                <action android:name="android.intent.action.MAIN" />
66                <category android:name="android.intent.category.LAUNCHER" />
67            </intent-filter>
68        </activity>
69
70        <!--
71        Declare AutofillService implementation; only needed for a small number of apps that will
72        be implementing an AutofillService. Framework parses meta-data and sets the service's
73        Settings Activity based on what the meta-data resource points to.
74        -->
75        <service
76            android:name=".multidatasetservice.MyAutofillService"
77            android:label="Multi-Dataset Autofill Service"
78            android:permission="android.permission.BIND_AUTOFILL_SERVICE" >
79            <meta-data
80                android:name="android.autofill"
81                android:resource="@xml/multidataset_service" />
82
83            <intent-filter>
84                <action android:name="android.service.autofill.AutofillService" />
85            </intent-filter>
86        </service>
87
88        <activity android:name=".multidatasetservice.AuthActivity" />
89    </application>
90
91</manifest>
92