1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 Copyright 2017 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17 18 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 19 package="com.example.android.autofillframework" 20 android:versionCode="1" 21 android:versionName="1.0"> 22 23 <application 24 android:allowBackup="true" 25 android:icon="@mipmap/ic_launcher" 26 android:label="@string/app_name" 27 android:supportsRtl="true" 28 android:theme="@style/Theme.AppCompat.Light"> 29 <activity 30 android:name=".app.MainActivity" 31 android:label="AF Main" 32 android:taskAffinity=".MainActivity"> 33 <intent-filter> 34 <action android:name="android.intent.action.MAIN" /> 35 36 <category android:name="android.intent.category.LAUNCHER" /> 37 </intent-filter> 38 </activity> 39 <activity 40 android:name=".app.LoginActivity" 41 android:label="AF StandardLogin" 42 android:taskAffinity=".LoginActivity"> 43 <intent-filter> 44 <action android:name="android.intent.action.MAIN" /> 45 46 <category android:name="android.intent.category.LAUNCHER" /> 47 </intent-filter> 48 </activity> 49 <activity 50 android:name=".app.VirtualLoginActivity" 51 android:label="AF VirtualLogin" 52 android:taskAffinity=".VirtualLoginActivity"> 53 <intent-filter> 54 <action android:name="android.intent.action.MAIN" /> 55 56 <category android:name="android.intent.category.LAUNCHER" /> 57 </intent-filter> 58 </activity> 59 <activity android:name=".app.WelcomeActivity" /> 60 <activity 61 android:name=".app.CreditCardActivity" 62 android:label="AF CreditCard" 63 android:taskAffinity=".CreditCardActivity"> 64 <intent-filter> 65 <action android:name="android.intent.action.MAIN" /> 66 67 <category android:name="android.intent.category.LAUNCHER" /> 68 </intent-filter> 69 </activity> 70 <!-- 71 Including launcher icon for Autofill Settings to convenience. 72 Not necessary for a real service. 73 --> 74 <activity 75 android:name=".service.settings.SettingsActivity" 76 android:exported="true" 77 android:label="@string/settings_name" 78 android:taskAffinity=".SettingsActivity"> 79 <intent-filter> 80 <action android:name="android.intent.action.MAIN" /> 81 82 <category android:name="android.intent.category.LAUNCHER" /> 83 </intent-filter> 84 </activity> 85 86 <!-- 87 Declare AutofillService implementation; only needed for a small number of apps that will 88 be implementing an AutofillService. Framework parses meta-data and sets the service's 89 Settings Activity based on what the meta-data resource points to. 90 --> 91 <service 92 android:name=".service.MyAutofillService" 93 android:permission="android.permission.BIND_AUTOFILL" 94 android:label="Sample Autofill Service"> 95 <meta-data 96 android:name="android.autofill" 97 android:resource="@xml/autofill_service" /> 98 99 <intent-filter> 100 <action android:name="android.service.autofill.AutofillService" /> 101 </intent-filter> 102 </service> 103 104 <activity android:name=".service.AuthActivity" /> 105 </application> 106 107 </manifest>