e178c24db3
With b/150232615, we will need an explicit value set for the exported flag when intent filters are present, as the default behavior is changing for S+. This change adds the value reflecting the previous default to the manifest. These changes were made using an automated tool, the xml file may be reformatted slightly creating a larger diff. The only "real" change is the addition of "android:exported" to activities, services, and receivers that have one or more intent-filters. Bug: 150232615 Test: TH Exempt-From-Owner-Approval: mechanical refactoring Change-Id: I4457ff2bd466a4c56fed2570e110f251031c2385
90 lines
4.0 KiB
XML
90 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.test.voiceinteraction">
|
|
|
|
<uses-sdk android:minSdkVersion="23"
|
|
android:targetSdkVersion="25"/>
|
|
|
|
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
|
|
<uses-permission android:name="android.permission.READ_LOGS"/>
|
|
|
|
<application>
|
|
<activity android:name="VoiceInteractionMain"
|
|
android:label="Voice Interaction"
|
|
android:theme="@android:style/Theme.Material"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name="AssistProxyActivity"
|
|
android:label="Test Assist Proxy"
|
|
android:theme="@android:style/Theme.NoDisplay"
|
|
android:excludeFromRecents="true"
|
|
android:noHistory="true"
|
|
android:taskAffinity=""
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.ASSIST"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name="SettingsActivity"
|
|
android:label="Voice Interaction Settings"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<service android:name="MainInteractionService"
|
|
android:label="Test Voice Interaction Service"
|
|
android:permission="android.permission.BIND_VOICE_INTERACTION"
|
|
android:process=":interactor"
|
|
android:exported="true">
|
|
<meta-data android:name="android.voice_interaction"
|
|
android:resource="@xml/interaction_service"/>
|
|
<intent-filter>
|
|
<action android:name="android.service.voice.VoiceInteractionService"/>
|
|
</intent-filter>
|
|
</service>
|
|
<service android:name="MainInteractionSessionService"
|
|
android:permission="android.permission.BIND_VOICE_INTERACTION"
|
|
android:process=":session">
|
|
</service>
|
|
<service android:name="MainRecognitionService"
|
|
android:label="Test Voice Interaction Service"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.speech.RecognitionService"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
</intent-filter>
|
|
<meta-data android:name="android.speech"
|
|
android:resource="@xml/recognition_service"/>
|
|
</service>
|
|
<activity android:name="TestInteractionActivity"
|
|
android:label="Voice Interaction Target"
|
|
android:theme="@android:style/Theme.Material.Light"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<category android:name="android.intent.category.VOICE"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name="StartVoiceInteractionActivity"
|
|
android:label="In-Activity Voice"
|
|
android:theme="@android:style/Theme.Material.Light"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
</manifest>
|