Xml文件  |  20行  |  802 B

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.dreams.basic"
    >
    <uses-feature android:glEsVersion="0x00020000" android:required="true" />
    <application android:label="@string/app_name">
        <service
            android:name="Colors"
            android:exported="true"
            android:permission="android.permission.BIND_DREAM_SERVICE"
            android:icon="@mipmap/colors_icon"
            android:label="@string/color_dream_name">
            <intent-filter>
                <action android:name="android.service.dreams.DreamService" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </service>
    </application>
</manifest>