summaryrefslogtreecommitdiff
path: root/tests/SoundTriggerTestApp
diff options
context:
space:
mode:
author Ashwini Oruganti <ashfall@google.com> 2020-03-18 15:46:39 -0700
committer Jeff Sharkey <jsharkey@google.com> 2020-03-23 18:34:09 +0000
commite178c24db3abb8d1ebaba5052b05c99204dc6c88 (patch)
treeb924d8b82d314091dd19dce280b4df3179cdf197 /tests/SoundTriggerTestApp
parented91e9135b957debeeb18b3267c2761912101ff5 (diff)
Add an exported flag in manifest
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
Diffstat (limited to 'tests/SoundTriggerTestApp')
-rw-r--r--tests/SoundTriggerTestApp/AndroidManifest.xml37
1 files changed, 19 insertions, 18 deletions
diff --git a/tests/SoundTriggerTestApp/AndroidManifest.xml b/tests/SoundTriggerTestApp/AndroidManifest.xml
index 87f3e92b3a60..587a25dd71bc 100644
--- a/tests/SoundTriggerTestApp/AndroidManifest.xml
+++ b/tests/SoundTriggerTestApp/AndroidManifest.xml
@@ -1,27 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.test.soundtrigger">
- <uses-permission android:name="android.permission.CAPTURE_AUDIO_HOTWORD" />
- <uses-permission android:name="android.permission.MANAGE_SOUND_TRIGGER" />
- <uses-permission android:name="android.permission.RECORD_AUDIO" />
- <uses-permission android:name="android.permission.WAKE_LOCK" />
+ package="com.android.test.soundtrigger">
+ <uses-permission android:name="android.permission.CAPTURE_AUDIO_HOTWORD"/>
+ <uses-permission android:name="android.permission.MANAGE_SOUND_TRIGGER"/>
+ <uses-permission android:name="android.permission.RECORD_AUDIO"/>
+ <uses-permission android:name="android.permission.WAKE_LOCK"/>
<application>
- <activity
- android:name=".SoundTriggerTestActivity"
- android:label="SoundTrigger Test Application"
- android:screenOrientation="portrait"
- android:theme="@android:style/Theme.Material">
+ <activity android:name=".SoundTriggerTestActivity"
+ android:label="SoundTrigger Test Application"
+ android:screenOrientation="portrait"
+ 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" />
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <service
- android:name=".SoundTriggerTestService"
- android:stopWithTask="false"
- android:exported="true">
+ <service android:name=".SoundTriggerTestService"
+ android:stopWithTask="false"
+ android:exported="true">
<intent-filter>
- <action android:name="com.android.intent.action.MANAGE_SOUND_TRIGGER" />
+ <action android:name="com.android.intent.action.MANAGE_SOUND_TRIGGER"/>
</intent-filter>
</service>
</application>