• 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    <application
4        android:allowBackup="true"
5        android:icon="@mipmap/ic_launcher"
6        android:supportsRtl="true"
7        android:theme="@style/AppTheme" >
8    <!--
9Declare AutofillService implementation; only needed for a small number of apps that will
10be implementing an AutofillService. Framework parses meta-data and sets the service's
11Settings Activity based on what the meta-data resource points to.
12-->
13    <service
14        android:name=".MyAutofillService"
15        android:label="Multi-Dataset Autofill Service"
16        android:permission="android.permission.BIND_AUTOFILL_SERVICE">
17        <meta-data
18            android:name="android.autofill"
19            android:resource="@xml/multidataset_service" />
20
21        <intent-filter>
22            <action android:name="android.service.autofill.AutofillService" />
23        </intent-filter>
24    </service>
25
26    <activity android:name=".AuthActivity" />
27        <!-- Including launcher icon for Autofill Settings to convenience. Not necessary for a
28        real service. -->
29        <activity
30            android:name=".settings.SettingsActivity"
31            android:exported="true"
32            android:label="@string/settings_name"
33            android:taskAffinity=".SettingsActivity">
34            <intent-filter>
35                <action android:name="android.intent.action.MAIN" />
36                <category android:name="android.intent.category.LAUNCHER" />
37            </intent-filter>
38        </activity>
39
40    </application>
41</manifest>
42