Home | History | Annotate | Download | only in main
      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             <intent-filter>
     55                 <action android:name="android.service.autofill.AutofillService" />
     56             </intent-filter>
     57         </service>
     58 
     59         <activity
     60             android:name=".AuthActivity"
     61             android:taskAffinity=".AuthActivity"
     62             android:label="@string/authentication_name" />
     63 
     64         <activity
     65             android:name=".simple.SimpleAuthActivity"
     66             android:taskAffinity=".simple.SimpleAuthActivity"
     67             android:label="@string/authentication_name" />
     68 
     69         <activity
     70             android:name=".ManualActivity"
     71             android:taskAffinity=".ManualActivity"
     72             android:label="@string/manual_name" />
     73 
     74         <activity
     75             android:name=".ManualFieldPickerActivity"
     76             android:taskAffinity=".ManualActivity"
     77             android:label="@string/manual_field_picker_name" />
     78 
     79         <!-- Including launcher icon for Autofill Settings to convenience. Not necessary for a
     80         real service. -->
     81         <activity
     82             android:name=".settings.SettingsActivity"
     83             android:exported="true"
     84             android:label="@string/settings_name"
     85             android:taskAffinity=".settings.SettingsActivity">
     86             <intent-filter>
     87                 <action android:name="android.intent.action.MAIN" />
     88                 <category android:name="android.intent.category.LAUNCHER" />
     89             </intent-filter>
     90         </activity>
     91 
     92     </application>
     93 </manifest>
     94