Xml文件  |  26行  |  1.08 KB

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.android.test.soundtrigger">

    <uses-permission android:name="android.permission.MANAGE_SOUND_TRIGGER" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <application>
        <activity
            android:name="TestSoundTriggerActivity"
            android:label="SoundTrigger Test Application"
            android:screenOrientation="portrait"
            android:theme="@android:style/Theme.Material">
            <!--
            <intent-filter>
                <action android:name="com.android.intent.action.MANAGE_SOUND_TRIGGER" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            -->
            <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>