Xml文件  |  97行  |  3.96 KB

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010-2011 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.musicfx"
    android:installLocation="auto"
    android:versionName="1.4" android:versionCode="10400">
    
    <uses-permission
        android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
    <uses-permission
        android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    <uses-permission
        android:name="android.permission.INTERNET" />
    <uses-permission
        android:name="android.permission.BLUETOOTH"></uses-permission>
    <application
        android:icon="@drawable/icon"
        android:label="@string/app_name"
        android:theme="@android:style/Theme.NoTitleBar">
        <activity
            android:name=".ActivityMusic"
            android:theme="@android:style/Theme.Holo"
            android:label="@string/app_name">
            <intent-filter>
                <action
                    android:name="android.media.action.DISPLAY_AUDIO_EFFECT_CONTROL_PANEL" />
                <category
                    android:name="android.intent.category.DEFAULT" />
                <category
                    android:name="android.intent.category.CATEGORY_CONTENT_MUSIC" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ControlPanelPicker"
            android:theme="@*android:style/Theme.Holo.Dialog.Alert"
            android:excludeFromRecents="true" />
        <receiver
            android:name=".ControlPanelReceiver">
            <intent-filter>
                <action
                    android:name="android.media.action.OPEN_AUDIO_EFFECT_CONTROL_SESSION" />
                <action
                    android:name="android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION" />
                <action
                    android:name="AudioEffect.ACTION_SET_PARAM" />
                <action
                    android:name="AudioEffect.ACTION_GET_PARAM" />
                <category
                    android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </receiver>

        <receiver
            android:name="Compatibility$Receiver">
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.PACKAGE_ADDED" />
                <data android:scheme="package" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.PACKAGE_REPLACED" />
                <data android:scheme="package" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.PACKAGE_REMOVED" />
                <data android:scheme="package" />
            </intent-filter>
        </receiver>
        <service android:name="Compatibility$Service" android:exported="false" />
        <activity
            android:name="Compatibility$Redirector">
            <intent-filter
                android:priority="2147483647">
                <action android:name="android.media.action.DISPLAY_AUDIO_EFFECT_CONTROL_PANEL" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

    </application>
</manifest>