• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.BasicHeuristicsService"
40            android:label="Basic Heuristics Autofill Service"
41            android:permission="android.permission.BIND_AUTOFILL_SERVICE">
42
43            <intent-filter>
44                <action android:name="android.service.autofill.AutofillService" />
45            </intent-filter>
46        </service>
47
48        <activity
49            android:name=".AuthActivity"
50            android:taskAffinity=".AuthActivity"
51            android:label="@string/authentication_name" />
52
53        <activity
54            android:name=".ManualActivity"
55            android:taskAffinity=".ManualActivity"
56            android:label="@string/manual_name" />
57
58        <activity
59            android:name=".ManualFieldPickerActivity"
60            android:taskAffinity=".ManualActivity"
61            android:label="@string/manual_field_picker_name" />
62
63        <!-- Including launcher icon for Autofill Settings to convenience. Not necessary for a
64        real service. -->
65        <activity
66            android:name=".settings.SettingsActivity"
67            android:exported="true"
68            android:label="@string/settings_name"
69            android:taskAffinity=".settings.SettingsActivity">
70            <intent-filter>
71                <action android:name="android.intent.action.MAIN" />
72                <category android:name="android.intent.category.LAUNCHER" />
73            </intent-filter>
74        </activity>
75
76    </application>
77</manifest>
78