xref: /aosp_15_r20/development/samples/browseable/WatchFace/Wearable/AndroidManifest.xml (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*90c8c64dSAndroid Build Coastguard Worker<!--
3*90c8c64dSAndroid Build Coastguard Worker Copyright (C) 2014 The Android Open Source Project
4*90c8c64dSAndroid Build Coastguard Worker
5*90c8c64dSAndroid Build Coastguard Worker     Licensed under the Apache License, Version 2.0 (the "License");
6*90c8c64dSAndroid Build Coastguard Worker     you may not use this file except in compliance with the License.
7*90c8c64dSAndroid Build Coastguard Worker     You may obtain a copy of the License at
8*90c8c64dSAndroid Build Coastguard Worker
9*90c8c64dSAndroid Build Coastguard Worker          http://www.apache.org/licenses/LICENSE-2.0
10*90c8c64dSAndroid Build Coastguard Worker
11*90c8c64dSAndroid Build Coastguard Worker     Unless required by applicable law or agreed to in writing, software
12*90c8c64dSAndroid Build Coastguard Worker     distributed under the License is distributed on an "AS IS" BASIS,
13*90c8c64dSAndroid Build Coastguard Worker     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*90c8c64dSAndroid Build Coastguard Worker     See the License for the specific language governing permissions and
15*90c8c64dSAndroid Build Coastguard Worker     limitations under the License.
16*90c8c64dSAndroid Build Coastguard Worker-->
17*90c8c64dSAndroid Build Coastguard Worker<manifest package="com.example.android.wearable.watchface"
18*90c8c64dSAndroid Build Coastguard Worker          xmlns:android="http://schemas.android.com/apk/res/android">
19*90c8c64dSAndroid Build Coastguard Worker
20*90c8c64dSAndroid Build Coastguard Worker    <uses-sdk
21*90c8c64dSAndroid Build Coastguard Worker        android:minSdkVersion="21"
22*90c8c64dSAndroid Build Coastguard Worker        android:targetSdkVersion="25"/>
23*90c8c64dSAndroid Build Coastguard Worker
24*90c8c64dSAndroid Build Coastguard Worker    <uses-feature android:name="android.hardware.type.watch"/>
25*90c8c64dSAndroid Build Coastguard Worker
26*90c8c64dSAndroid Build Coastguard Worker    <!-- Required to act as a custom watch face. -->
27*90c8c64dSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.WAKE_LOCK"/>
28*90c8c64dSAndroid Build Coastguard Worker
29*90c8c64dSAndroid Build Coastguard Worker    <!-- Required for complications to receive complication data and open the provider chooser. -->
30*90c8c64dSAndroid Build Coastguard Worker    <uses-permission android:name="com.google.android.wearable.permission.RECEIVE_COMPLICATION_DATA"/>
31*90c8c64dSAndroid Build Coastguard Worker
32*90c8c64dSAndroid Build Coastguard Worker    <!-- Calendar permission used by CalendarWatchFaceService -->
33*90c8c64dSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.READ_CALENDAR"/>
34*90c8c64dSAndroid Build Coastguard Worker
35*90c8c64dSAndroid Build Coastguard Worker    <!-- Location permission used by FitDistanceWatchFaceService -->
36*90c8c64dSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
37*90c8c64dSAndroid Build Coastguard Worker
38*90c8c64dSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
39*90c8c64dSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
40*90c8c64dSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
41*90c8c64dSAndroid Build Coastguard Worker
42*90c8c64dSAndroid Build Coastguard Worker    <application
43*90c8c64dSAndroid Build Coastguard Worker        android:allowBackup="true"
44*90c8c64dSAndroid Build Coastguard Worker        android:icon="@drawable/ic_launcher"
45*90c8c64dSAndroid Build Coastguard Worker        android:label="@string/app_name">
46*90c8c64dSAndroid Build Coastguard Worker
47*90c8c64dSAndroid Build Coastguard Worker        <meta-data
48*90c8c64dSAndroid Build Coastguard Worker            android:name="com.google.android.wearable.standalone"
49*90c8c64dSAndroid Build Coastguard Worker            android:value="true" />
50*90c8c64dSAndroid Build Coastguard Worker
51*90c8c64dSAndroid Build Coastguard Worker        <meta-data
52*90c8c64dSAndroid Build Coastguard Worker            android:name="com.google.android.gms.version"
53*90c8c64dSAndroid Build Coastguard Worker            android:value="@integer/google_play_services_version"/>
54*90c8c64dSAndroid Build Coastguard Worker
55*90c8c64dSAndroid Build Coastguard Worker        <uses-library
56*90c8c64dSAndroid Build Coastguard Worker            android:name="com.google.android.wearable"
57*90c8c64dSAndroid Build Coastguard Worker            android:required="false"/>
58*90c8c64dSAndroid Build Coastguard Worker
59*90c8c64dSAndroid Build Coastguard Worker        <service
60*90c8c64dSAndroid Build Coastguard Worker            android:name=".AnalogWatchFaceService"
61*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/analog_name"
62*90c8c64dSAndroid Build Coastguard Worker            android:permission="android.permission.BIND_WALLPAPER">
63*90c8c64dSAndroid Build Coastguard Worker            <meta-data
64*90c8c64dSAndroid Build Coastguard Worker                android:name="android.service.wallpaper"
65*90c8c64dSAndroid Build Coastguard Worker                android:resource="@xml/watch_face"/>
66*90c8c64dSAndroid Build Coastguard Worker            <meta-data
67*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview"
68*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_analog"/>
69*90c8c64dSAndroid Build Coastguard Worker            <meta-data
70*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview_circular"
71*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_analog_circular"/>
72*90c8c64dSAndroid Build Coastguard Worker            <meta-data
73*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.companionConfigurationAction"
74*90c8c64dSAndroid Build Coastguard Worker                android:value="com.example.android.wearable.watchface.CONFIG_ANALOG"/>
75*90c8c64dSAndroid Build Coastguard Worker
76*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
77*90c8c64dSAndroid Build Coastguard Worker                <action android:name="android.service.wallpaper.WallpaperService"/>
78*90c8c64dSAndroid Build Coastguard Worker
79*90c8c64dSAndroid Build Coastguard Worker                <category android:name="com.google.android.wearable.watchface.category.WATCH_FACE"/>
80*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
81*90c8c64dSAndroid Build Coastguard Worker        </service>
82*90c8c64dSAndroid Build Coastguard Worker        <service
83*90c8c64dSAndroid Build Coastguard Worker            android:name=".SweepWatchFaceService"
84*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/sweep_name"
85*90c8c64dSAndroid Build Coastguard Worker            android:permission="android.permission.BIND_WALLPAPER">
86*90c8c64dSAndroid Build Coastguard Worker            <meta-data
87*90c8c64dSAndroid Build Coastguard Worker                android:name="android.service.wallpaper"
88*90c8c64dSAndroid Build Coastguard Worker                android:resource="@xml/watch_face"/>
89*90c8c64dSAndroid Build Coastguard Worker            <meta-data
90*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview"
91*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_analog"/>
92*90c8c64dSAndroid Build Coastguard Worker            <meta-data
93*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview_circular"
94*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_analog_circular"/>
95*90c8c64dSAndroid Build Coastguard Worker
96*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
97*90c8c64dSAndroid Build Coastguard Worker                <action android:name="android.service.wallpaper.WallpaperService"/>
98*90c8c64dSAndroid Build Coastguard Worker
99*90c8c64dSAndroid Build Coastguard Worker                <category android:name="com.google.android.wearable.watchface.category.WATCH_FACE"/>
100*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
101*90c8c64dSAndroid Build Coastguard Worker        </service>
102*90c8c64dSAndroid Build Coastguard Worker        <service
103*90c8c64dSAndroid Build Coastguard Worker            android:name=".OpenGLWatchFaceService"
104*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/opengl_name"
105*90c8c64dSAndroid Build Coastguard Worker            android:permission="android.permission.BIND_WALLPAPER">
106*90c8c64dSAndroid Build Coastguard Worker            <meta-data
107*90c8c64dSAndroid Build Coastguard Worker                android:name="android.service.wallpaper"
108*90c8c64dSAndroid Build Coastguard Worker                android:resource="@xml/watch_face"/>
109*90c8c64dSAndroid Build Coastguard Worker            <meta-data
110*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview"
111*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_opengl"/>
112*90c8c64dSAndroid Build Coastguard Worker            <meta-data
113*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview_circular"
114*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_opengl_circular"/>
115*90c8c64dSAndroid Build Coastguard Worker            <meta-data
116*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.companionConfigurationAction"
117*90c8c64dSAndroid Build Coastguard Worker                android:value="com.example.android.wearable.watchface.CONFIG_OPENGL"/>
118*90c8c64dSAndroid Build Coastguard Worker
119*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
120*90c8c64dSAndroid Build Coastguard Worker                <action android:name="android.service.wallpaper.WallpaperService"/>
121*90c8c64dSAndroid Build Coastguard Worker
122*90c8c64dSAndroid Build Coastguard Worker                <category android:name="com.google.android.wearable.watchface.category.WATCH_FACE"/>
123*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
124*90c8c64dSAndroid Build Coastguard Worker        </service>
125*90c8c64dSAndroid Build Coastguard Worker        <service
126*90c8c64dSAndroid Build Coastguard Worker            android:name=".CardBoundsWatchFaceService"
127*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/card_bounds_name"
128*90c8c64dSAndroid Build Coastguard Worker            android:permission="android.permission.BIND_WALLPAPER">
129*90c8c64dSAndroid Build Coastguard Worker            <meta-data
130*90c8c64dSAndroid Build Coastguard Worker                android:name="android.service.wallpaper"
131*90c8c64dSAndroid Build Coastguard Worker                android:resource="@xml/watch_face"/>
132*90c8c64dSAndroid Build Coastguard Worker            <meta-data
133*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview"
134*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_card_bounds"/>
135*90c8c64dSAndroid Build Coastguard Worker            <meta-data
136*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview_circular"
137*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_card_bounds_circular"/>
138*90c8c64dSAndroid Build Coastguard Worker            <meta-data
139*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.companionConfigurationAction"
140*90c8c64dSAndroid Build Coastguard Worker                android:value="com.example.android.wearable.watchface.CONFIG_CARD_BOUNDS"/>
141*90c8c64dSAndroid Build Coastguard Worker
142*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
143*90c8c64dSAndroid Build Coastguard Worker                <action android:name="android.service.wallpaper.WallpaperService"/>
144*90c8c64dSAndroid Build Coastguard Worker
145*90c8c64dSAndroid Build Coastguard Worker                <category android:name="com.google.android.wearable.watchface.category.WATCH_FACE"/>
146*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
147*90c8c64dSAndroid Build Coastguard Worker        </service>
148*90c8c64dSAndroid Build Coastguard Worker        <service
149*90c8c64dSAndroid Build Coastguard Worker            android:name=".ComplicationSimpleWatchFaceService"
150*90c8c64dSAndroid Build Coastguard Worker            android:enabled="true"
151*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/complication_simple"
152*90c8c64dSAndroid Build Coastguard Worker            android:permission="android.permission.BIND_WALLPAPER">
153*90c8c64dSAndroid Build Coastguard Worker            <meta-data
154*90c8c64dSAndroid Build Coastguard Worker                android:name="android.service.wallpaper"
155*90c8c64dSAndroid Build Coastguard Worker                android:resource="@xml/watch_face"/>
156*90c8c64dSAndroid Build Coastguard Worker            <meta-data
157*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview"
158*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_complication_simple"/>
159*90c8c64dSAndroid Build Coastguard Worker            <meta-data
160*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview_circular"
161*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_complication_simple"/>
162*90c8c64dSAndroid Build Coastguard Worker            <meta-data
163*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.wearableConfigurationAction"
164*90c8c64dSAndroid Build Coastguard Worker                android:value="com.example.android.wearable.watchface.CONFIG_COMPLICATION_SIMPLE"/>
165*90c8c64dSAndroid Build Coastguard Worker
166*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
167*90c8c64dSAndroid Build Coastguard Worker                <action android:name="android.service.wallpaper.WallpaperService"/>
168*90c8c64dSAndroid Build Coastguard Worker
169*90c8c64dSAndroid Build Coastguard Worker                <category android:name="com.google.android.wearable.watchface.category.WATCH_FACE"/>
170*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
171*90c8c64dSAndroid Build Coastguard Worker        </service>
172*90c8c64dSAndroid Build Coastguard Worker
173*90c8c64dSAndroid Build Coastguard Worker        <activity android:name="android.support.wearable.complications.ComplicationHelperActivity"/>
174*90c8c64dSAndroid Build Coastguard Worker        <activity
175*90c8c64dSAndroid Build Coastguard Worker            android:name=".ComplicationSimpleConfigActivity"
176*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/complication_simple">
177*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
178*90c8c64dSAndroid Build Coastguard Worker                <action android:name="com.example.android.wearable.watchface.CONFIG_COMPLICATION_SIMPLE"/>
179*90c8c64dSAndroid Build Coastguard Worker
180*90c8c64dSAndroid Build Coastguard Worker                <category android:name="com.google.android.wearable.watchface.category.WEARABLE_CONFIGURATION"/>
181*90c8c64dSAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT"/>
182*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
183*90c8c64dSAndroid Build Coastguard Worker        </activity>
184*90c8c64dSAndroid Build Coastguard Worker
185*90c8c64dSAndroid Build Coastguard Worker        <service
186*90c8c64dSAndroid Build Coastguard Worker            android:name=".InteractiveWatchFaceService"
187*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/interactive_name"
188*90c8c64dSAndroid Build Coastguard Worker            android:permission="android.permission.BIND_WALLPAPER">
189*90c8c64dSAndroid Build Coastguard Worker            <meta-data
190*90c8c64dSAndroid Build Coastguard Worker                android:name="android.service.wallpaper"
191*90c8c64dSAndroid Build Coastguard Worker                android:resource="@xml/watch_face"/>
192*90c8c64dSAndroid Build Coastguard Worker            <meta-data
193*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview"
194*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_interactive"/>
195*90c8c64dSAndroid Build Coastguard Worker            <meta-data
196*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview_circular"
197*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_interactive_circular"/>
198*90c8c64dSAndroid Build Coastguard Worker
199*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
200*90c8c64dSAndroid Build Coastguard Worker                <action android:name="android.service.wallpaper.WallpaperService"/>
201*90c8c64dSAndroid Build Coastguard Worker
202*90c8c64dSAndroid Build Coastguard Worker                <category android:name="com.google.android.wearable.watchface.category.WATCH_FACE"/>
203*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
204*90c8c64dSAndroid Build Coastguard Worker        </service>
205*90c8c64dSAndroid Build Coastguard Worker        <service
206*90c8c64dSAndroid Build Coastguard Worker            android:name=".DigitalWatchFaceService"
207*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/digital_name"
208*90c8c64dSAndroid Build Coastguard Worker            android:permission="android.permission.BIND_WALLPAPER">
209*90c8c64dSAndroid Build Coastguard Worker            <meta-data
210*90c8c64dSAndroid Build Coastguard Worker                android:name="android.service.wallpaper"
211*90c8c64dSAndroid Build Coastguard Worker                android:resource="@xml/watch_face"/>
212*90c8c64dSAndroid Build Coastguard Worker            <meta-data
213*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview"
214*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_digital"/>
215*90c8c64dSAndroid Build Coastguard Worker            <meta-data
216*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview_circular"
217*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_digital_circular"/>
218*90c8c64dSAndroid Build Coastguard Worker            <meta-data
219*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.companionConfigurationAction"
220*90c8c64dSAndroid Build Coastguard Worker                android:value="com.example.android.wearable.watchface.CONFIG_DIGITAL"/>
221*90c8c64dSAndroid Build Coastguard Worker            <meta-data
222*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.wearableConfigurationAction"
223*90c8c64dSAndroid Build Coastguard Worker                android:value="com.example.android.wearable.watchface.CONFIG_DIGITAL"/>
224*90c8c64dSAndroid Build Coastguard Worker
225*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
226*90c8c64dSAndroid Build Coastguard Worker                <action android:name="android.service.wallpaper.WallpaperService"/>
227*90c8c64dSAndroid Build Coastguard Worker
228*90c8c64dSAndroid Build Coastguard Worker                <category android:name="com.google.android.wearable.watchface.category.WATCH_FACE"/>
229*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
230*90c8c64dSAndroid Build Coastguard Worker        </service>
231*90c8c64dSAndroid Build Coastguard Worker
232*90c8c64dSAndroid Build Coastguard Worker        <!--
233*90c8c64dSAndroid Build Coastguard Worker             All intent-filters for config actions must include the categories
234*90c8c64dSAndroid Build Coastguard Worker            com.google.android.wearable.watchface.category.WEARABLE_CONFIGURATION
235*90c8c64dSAndroid Build Coastguard Worker            and android.intent.category.DEFAULT.
236*90c8c64dSAndroid Build Coastguard Worker        -->
237*90c8c64dSAndroid Build Coastguard Worker
238*90c8c64dSAndroid Build Coastguard Worker        <activity
239*90c8c64dSAndroid Build Coastguard Worker            android:name=".DigitalWatchFaceWearableConfigActivity"
240*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/digital_config_name">
241*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
242*90c8c64dSAndroid Build Coastguard Worker                <action android:name="com.example.android.wearable.watchface.CONFIG_DIGITAL"/>
243*90c8c64dSAndroid Build Coastguard Worker
244*90c8c64dSAndroid Build Coastguard Worker                <category android:name="com.google.android.wearable.watchface.category.WEARABLE_CONFIGURATION"/>
245*90c8c64dSAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT"/>
246*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
247*90c8c64dSAndroid Build Coastguard Worker        </activity>
248*90c8c64dSAndroid Build Coastguard Worker
249*90c8c64dSAndroid Build Coastguard Worker        <service
250*90c8c64dSAndroid Build Coastguard Worker            android:name=".CalendarWatchFaceService"
251*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/calendar_name"
252*90c8c64dSAndroid Build Coastguard Worker            android:permission="android.permission.BIND_WALLPAPER">
253*90c8c64dSAndroid Build Coastguard Worker            <meta-data
254*90c8c64dSAndroid Build Coastguard Worker                android:name="android.service.wallpaper"
255*90c8c64dSAndroid Build Coastguard Worker                android:resource="@xml/watch_face"/>
256*90c8c64dSAndroid Build Coastguard Worker            <meta-data
257*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview"
258*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_calendar"/>
259*90c8c64dSAndroid Build Coastguard Worker            <meta-data
260*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview_circular"
261*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_calendar_circular"/>
262*90c8c64dSAndroid Build Coastguard Worker
263*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
264*90c8c64dSAndroid Build Coastguard Worker                <action android:name="android.service.wallpaper.WallpaperService"/>
265*90c8c64dSAndroid Build Coastguard Worker
266*90c8c64dSAndroid Build Coastguard Worker                <category android:name="com.google.android.wearable.watchface.category.WATCH_FACE"/>
267*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
268*90c8c64dSAndroid Build Coastguard Worker        </service>
269*90c8c64dSAndroid Build Coastguard Worker        <service android:name=".DigitalWatchFaceConfigListenerService">
270*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
271*90c8c64dSAndroid Build Coastguard Worker                <action android:name="com.google.android.gms.wearable.MESSAGE_RECEIVED"/>
272*90c8c64dSAndroid Build Coastguard Worker
273*90c8c64dSAndroid Build Coastguard Worker                <data
274*90c8c64dSAndroid Build Coastguard Worker                    android:host="*"
275*90c8c64dSAndroid Build Coastguard Worker                    android:pathPrefix="/"
276*90c8c64dSAndroid Build Coastguard Worker                    android:scheme="wear"/>
277*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
278*90c8c64dSAndroid Build Coastguard Worker        </service>
279*90c8c64dSAndroid Build Coastguard Worker        <service
280*90c8c64dSAndroid Build Coastguard Worker            android:name=".FitDistanceWatchFaceService"
281*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/fit_distance_name"
282*90c8c64dSAndroid Build Coastguard Worker            android:permission="android.permission.BIND_WALLPAPER">
283*90c8c64dSAndroid Build Coastguard Worker            <meta-data
284*90c8c64dSAndroid Build Coastguard Worker                android:name="android.service.wallpaper"
285*90c8c64dSAndroid Build Coastguard Worker                android:resource="@xml/watch_face"/>
286*90c8c64dSAndroid Build Coastguard Worker            <meta-data
287*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview"
288*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_distance"/>
289*90c8c64dSAndroid Build Coastguard Worker            <meta-data
290*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview_circular"
291*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_distance_circular"/>
292*90c8c64dSAndroid Build Coastguard Worker            <meta-data
293*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.companionConfigurationAction"
294*90c8c64dSAndroid Build Coastguard Worker                android:value="com.example.android.wearable.watchface.CONFIG_FIT_DISTANCE"/>
295*90c8c64dSAndroid Build Coastguard Worker
296*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
297*90c8c64dSAndroid Build Coastguard Worker                <action android:name="android.service.wallpaper.WallpaperService"/>
298*90c8c64dSAndroid Build Coastguard Worker
299*90c8c64dSAndroid Build Coastguard Worker                <category android:name="com.google.android.wearable.watchface.category.WATCH_FACE"/>
300*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
301*90c8c64dSAndroid Build Coastguard Worker        </service>
302*90c8c64dSAndroid Build Coastguard Worker        <service
303*90c8c64dSAndroid Build Coastguard Worker            android:name=".FitStepsWatchFaceService"
304*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/fit_steps_name"
305*90c8c64dSAndroid Build Coastguard Worker            android:permission="android.permission.BIND_WALLPAPER">
306*90c8c64dSAndroid Build Coastguard Worker            <meta-data
307*90c8c64dSAndroid Build Coastguard Worker                android:name="android.service.wallpaper"
308*90c8c64dSAndroid Build Coastguard Worker                android:resource="@xml/watch_face"/>
309*90c8c64dSAndroid Build Coastguard Worker            <meta-data
310*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview"
311*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_fit"/>
312*90c8c64dSAndroid Build Coastguard Worker            <meta-data
313*90c8c64dSAndroid Build Coastguard Worker                android:name="com.google.android.wearable.watchface.preview_circular"
314*90c8c64dSAndroid Build Coastguard Worker                android:resource="@drawable/preview_fit_circular"/>
315*90c8c64dSAndroid Build Coastguard Worker
316*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
317*90c8c64dSAndroid Build Coastguard Worker                <action android:name="android.service.wallpaper.WallpaperService"/>
318*90c8c64dSAndroid Build Coastguard Worker
319*90c8c64dSAndroid Build Coastguard Worker                <category android:name="com.google.android.wearable.watchface.category.WATCH_FACE"/>
320*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
321*90c8c64dSAndroid Build Coastguard Worker        </service>
322*90c8c64dSAndroid Build Coastguard Worker
323*90c8c64dSAndroid Build Coastguard Worker        <activity
324*90c8c64dSAndroid Build Coastguard Worker            android:name=".CalendarWatchFacePermissionActivity"
325*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/title_activity_calendar_watch_face_permission">
326*90c8c64dSAndroid Build Coastguard Worker        </activity>
327*90c8c64dSAndroid Build Coastguard Worker
328*90c8c64dSAndroid Build Coastguard Worker        <service
329*90c8c64dSAndroid Build Coastguard Worker            android:name=".provider.RandomNumberProviderService"
330*90c8c64dSAndroid Build Coastguard Worker            android:icon="@drawable/ic_launcher"
331*90c8c64dSAndroid Build Coastguard Worker            android:label="@string/complications_provider_random_number"
332*90c8c64dSAndroid Build Coastguard Worker            android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
333*90c8c64dSAndroid Build Coastguard Worker            <intent-filter>
334*90c8c64dSAndroid Build Coastguard Worker                <action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST"/>
335*90c8c64dSAndroid Build Coastguard Worker            </intent-filter>
336*90c8c64dSAndroid Build Coastguard Worker
337*90c8c64dSAndroid Build Coastguard Worker            <meta-data
338*90c8c64dSAndroid Build Coastguard Worker                android:name="android.support.wearable.complications.SUPPORTED_TYPES"
339*90c8c64dSAndroid Build Coastguard Worker                android:value="RANGED_VALUE,SHORT_TEXT,LONG_TEXT"/>
340*90c8c64dSAndroid Build Coastguard Worker            <!--
341*90c8c64dSAndroid Build Coastguard Worker            When your complication data provider is active, UPDATE_PERIOD_SECONDS specifies how
342*90c8c64dSAndroid Build Coastguard Worker            often you want the system to check for updates to the data. In this case, the time is
343*90c8c64dSAndroid Build Coastguard Worker            specified to 600 seconds (10 minutes).
344*90c8c64dSAndroid Build Coastguard Worker
345*90c8c64dSAndroid Build Coastguard Worker            In general, you want to set this value high and manually trigger updates only when your
346*90c8c64dSAndroid Build Coastguard Worker            complication data actually changes via ProviderUpdateRequester (check
347*90c8c64dSAndroid Build Coastguard Worker            UpdateComplicationDataService.java for an example).
348*90c8c64dSAndroid Build Coastguard Worker
349*90c8c64dSAndroid Build Coastguard Worker            In everyday use, developers should consider intervals in the order of minutes.
350*90c8c64dSAndroid Build Coastguard Worker            Also, remember that this is only a guidance for the system. Android Wear may update less
351*90c8c64dSAndroid Build Coastguard Worker            frequently.
352*90c8c64dSAndroid Build Coastguard Worker            -->
353*90c8c64dSAndroid Build Coastguard Worker            <meta-data
354*90c8c64dSAndroid Build Coastguard Worker                android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
355*90c8c64dSAndroid Build Coastguard Worker                android:value="600"/>
356*90c8c64dSAndroid Build Coastguard Worker        </service>
357*90c8c64dSAndroid Build Coastguard Worker        <service
358*90c8c64dSAndroid Build Coastguard Worker            android:name=".provider.UpdateComplicationDataService"
359*90c8c64dSAndroid Build Coastguard Worker            android:exported="false">
360*90c8c64dSAndroid Build Coastguard Worker        </service>
361*90c8c64dSAndroid Build Coastguard Worker    </application>
362*90c8c64dSAndroid Build Coastguard Worker
363*90c8c64dSAndroid Build Coastguard Worker</manifest>