aboutsummaryrefslogtreecommitdiff
path: root/input/autofill/AutofillFramework/afservice/src/main/AndroidManifest.xml
blob: 6ece581e467162307adf387cc6c4cddf4596b128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.android.autofill.service">

    <uses-permission android:name="android.permission.INTERNET" />

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <!--
    Declare AutofillService implementation; only needed for a small number of apps that will
    be implementing an AutofillService. Framework parses meta-data and sets the service's
    Settings Activity based on what the meta-data resource points to.
    -->
        <service
            android:name=".MyAutofillService"
            android:label="Multi-Dataset Autofill Service"
            android:permission="android.permission.BIND_AUTOFILL_SERVICE">
            <meta-data
                android:name="android.autofill"
                android:resource="@xml/multidataset_service" />

            <intent-filter>
                <action android:name="android.service.autofill.AutofillService" />
            </intent-filter>
        </service>

        <service
            android:name=".simple.BasicService"
            android:label="Basic Autofill Service"
            android:permission="android.permission.BIND_AUTOFILL_SERVICE">
            <intent-filter>
                <action android:name="android.service.autofill.AutofillService" />
            </intent-filter>
        </service>

        <service
            android:name=".simple.BasicHeuristicsService"
            android:label="Basic Heuristics Autofill Service"
            android:permission="android.permission.BIND_AUTOFILL_SERVICE">
            <meta-data
                android:name="android.autofill"
                android:resource="@xml/basic_heuristics_service"/>
            <intent-filter>
                <action android:name="android.service.autofill.AutofillService" />
            </intent-filter>
        </service>

        <activity
            android:name=".AuthActivity"
            android:taskAffinity=".AuthActivity"
            android:label="@string/authentication_name" />

        <activity
            android:name=".ManualActivity"
            android:taskAffinity=".ManualActivity"
            android:label="@string/manual_name" />

        <activity
            android:name=".ManualFieldPickerActivity"
            android:taskAffinity=".ManualActivity"
            android:label="@string/manual_field_picker_name" />

        <!-- Including launcher icon for Autofill Settings to convenience. Not necessary for a
        real service. -->
        <activity
            android:name=".settings.SettingsActivity"
            android:exported="true"
            android:label="@string/settings_name"
            android:taskAffinity=".settings.SettingsActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

    </application>
</manifest>