aboutsummaryrefslogtreecommitdiff
path: root/input/autofill/AutofillFramework/afservice/src/main/AndroidManifest.xml
blob: aad334ea40d655878c54d9c6b66fa9a2ca03d422 (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
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.android.autofill.service">

    <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>

        <activity android:name=".AuthActivity" />
        <!-- 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=".SettingsActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

    </application>
</manifest>