- Make the enrollment attrs public - Add a dummy activity for enrollment - Manually tested that the meta-data is correctly read by the VoiceInteractionService when the enrollment application is under /system/priv-app Change-Id: I36676ed8ffc919109031c26bac047d0c51a77e13
17 lines
786 B
XML
17 lines
786 B
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.test.voiceenrollment">
|
|
|
|
<application
|
|
android:permission="android.permission.MANAGE_VOICE_KEYPHRASES">
|
|
<activity android:name="TestEnrollmentActivity" android:label="Voice Enrollment Application"
|
|
android:theme="@android:style/Theme.Material.Light.Voice">
|
|
<intent-filter>
|
|
<action android:name="com.android.intent.action.MANAGE_VOICE_KEYPHRASES" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
<meta-data android:name="android.voice_enrollment"
|
|
android:resource="@xml/enrollment_application"/>
|
|
</application>
|
|
</manifest>
|