Files
android_development/samples/InlineFillService/AndroidManifest.xml
Joanne Chung d182ec9737 Fix InlineFillService cannot be installed successfully
For app target S+, it requires an explicit value for android:exported
be defined when intent filters are present. Add android:exported to
fix the problem.

Bug: 162724573
Test: make InlineFillService and then can install apk successfully.
Change-Id: I867b8caac38825d64af30f331a1bd86aa3e3b914
2020-08-03 20:40:22 +08:00

34 lines
1.2 KiB
XML

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.android.inlinefillservice" >
<application
android:label="@string/app_name">
<service
android:name=".InlineFillService"
android:label="Inline Fill Service"
android:exported="true"
android:permission="android.permission.BIND_AUTOFILL_SERVICE">
<intent-filter>
<action android:name="android.service.autofill.AutofillService" />
</intent-filter>
<meta-data
android:name="android.autofill"
android:resource="@xml/autofill_service_config">
</meta-data>
</service>
<activity
android:name=".AuthActivity"
android:taskAffinity=".AuthActivity"
android:label="Autofill Authentication"/>
<activity
android:name=".SettingsActivity"
android:label="Autofill Settings"
android:exported="true"/>
<activity android:name=".AttributionDialogActivity"
android:label="Autofill Attribution"
android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar"/>
</application>
</manifest>