1<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2    package="com.example.android.autofill.service">
3
4    <uses-permission android:name="android.permission.INTERNET" />
5
6    <application
7        android:allowBackup="true"
8        android:icon="@mipmap/ic_launcher"
9        android:supportsRtl="true"
10        android:theme="@style/AppTheme">
11        <!--
12    Declare AutofillService implementation; only needed for a small number of apps that will
13    be implementing an AutofillService. Framework parses meta-data and sets the service's
14    Settings Activity based on what the meta-data resource points to.
15    -->
16        <service
17            android:name=".MyAutofillService"
18            android:label="Multi-Dataset Autofill Service"
19            android:permission="android.permission.BIND_AUTOFILL_SERVICE">
20            <meta-data
21                android:name="android.autofill"
22                android:resource="@xml/multidataset_service" />
23
24            <intent-filter>
25                <action android:name="android.service.autofill.AutofillService" />
26            </intent-filter>
27        </service>
28
29        <service
30            android:name=".simple.BasicService"
31            android:label="Basic Autofill Service"
32            android:permission="android.permission.BIND_AUTOFILL_SERVICE">
33            <intent-filter>
34                <action android:name="android.service.autofill.AutofillService" />
35            </intent-filter>
36        </service>
37
38        <service
39            android:name=".simple.DebugService"
40            android:label="Debug Autofill Service"
41            android:permission="android.permission.BIND_AUTOFILL_SERVICE">
42            <meta-data
43                android:name="android.autofill"
44                android:resource="@xml/debug_service"/>
45            <intent-filter>
46                <action android:name="android.service.autofill.AutofillService" />
47            </intent-filter>
48        </service>
49
50        <service
51            android:name=".simple.MultiStepsService"
52            android:label="Multiple-steps Service"
53            android:permission="android.permission.BIND_AUTOFILL_SERVICE">
54            android:name=".simple.HeuristicsService"
55            android:label="Heuristics Autofill Service"
56            android:permission="android.permission.BIND_AUTOFILL_SERVICE">
57            <meta-data
58                android:name="android.autofill"
59                android:resource="@xml/heuristics_service"/>
60            <intent-filter>
61                <action android:name="android.service.autofill.AutofillService" />
62            </intent-filter>
63        </service>
64
65        <activity
66            android:name=".AuthActivity"
67            android:taskAffinity=".AuthActivity"
68            android:label="@string/authentication_name" />
69
70        <activity
71            android:name=".simple.SimpleAuthActivity"
72            android:taskAffinity=".simple.SimpleAuthActivity"
73            android:label="@string/authentication_name" />
74
75        <activity
76            android:name=".ManualActivity"
77            android:taskAffinity=".ManualActivity"
78            android:label="@string/manual_name" />
79
80        <activity
81            android:name=".ManualFieldPickerActivity"
82            android:taskAffinity=".ManualActivity"
83            android:label="@string/manual_field_picker_name" />
84
85        <!-- Including launcher icon for Autofill Settings to convenience. Not necessary for a
86        real service. -->
87        <activity
88            android:name=".settings.SettingsActivity"
89            android:exported="true"
90            android:label="@string/settings_name"
91            android:taskAffinity=".settings.SettingsActivity">
92            <intent-filter>
93                <action android:name="android.intent.action.MAIN" />
94                <category android:name="android.intent.category.LAUNCHER" />
95            </intent-filter>
96        </activity>
97
98    </application>
99</manifest>
100