xref: /aosp_15_r20/development/samples/CubeLiveWallpaper/AndroidManifest.xml (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2009, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<manifest
21    xmlns:android="http://schemas.android.com/apk/res/android"
22    package="com.example.android.livecubes">
23
24    <uses-sdk android:minSdkVersion="7" />
25    <uses-feature android:name="android.software.live_wallpaper" />
26
27    <uses-feature android:name="android.software.live_wallpaper" />
28
29    <application
30        android:label="@string/wallpapers"
31        android:icon="@drawable/ic_launcher_wallpaper">
32
33        <service
34            android:label="@string/wallpaper_cube1"
35            android:name=".cube1.CubeWallpaper1"
36            android:exported="true"
37            android:permission="android.permission.BIND_WALLPAPER">
38            <intent-filter>
39                <action android:name="android.service.wallpaper.WallpaperService" />
40            </intent-filter>
41            <meta-data android:name="android.service.wallpaper" android:resource="@xml/cube1" />
42        </service>
43
44        <service
45            android:label="@string/wallpaper_cube2"
46            android:name=".cube2.CubeWallpaper2"
47            android:exported="true"
48            android:permission="android.permission.BIND_WALLPAPER">
49            <intent-filter>
50                <action android:name="android.service.wallpaper.WallpaperService" />
51            </intent-filter>
52            <meta-data android:name="android.service.wallpaper" android:resource="@xml/cube2" />
53        </service>
54        <activity
55            android:label="@string/cube2_settings"
56            android:name=".cube2.CubeWallpaper2Settings"
57            android:theme="@android:style/Theme.Light.WallpaperSettings"
58            android:exported="true">
59        </activity>
60
61    </application>
62</manifest>
63