1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18        package="com.example.android.wearable.watchface" >
19
20    <!-- Permissions required by the wearable app -->
21    <uses-permission android:name="android.permission.WAKE_LOCK" />
22
23
24    <!-- All intent-filters for config actions must include the categories
25        com.google.android.wearable.watchface.category.COMPANION_CONFIGURATION and
26        android.intent.category.DEFAULT. -->
27    <application
28            android:allowBackup="true"
29            android:icon="@drawable/ic_launcher"
30            android:label="@string/app_name"
31            android:theme="@style/AppTheme" >
32
33        <activity
34                android:name=".DigitalWatchFaceCompanionConfigActivity"
35                android:label="@string/app_name">
36            <intent-filter>
37                <action android:name="com.example.android.wearable.watchface.CONFIG_DIGITAL" />
38                <category android:name="com.google.android.wearable.watchface.category.COMPANION_CONFIGURATION" />
39                <category android:name="android.intent.category.DEFAULT" />
40            </intent-filter>
41        </activity>
42
43        <activity
44                android:name=".OpenGLWatchFaceConfigActivity"
45                android:label="@string/app_name">
46            <intent-filter>
47                <action android:name="com.example.android.wearable.watchface.CONFIG_OPENGL" />
48                <category android:name="com.google.android.wearable.watchface.category.COMPANION_CONFIGURATION" />
49                <category android:name="android.intent.category.DEFAULT" />
50            </intent-filter>
51        </activity>
52
53        <meta-data
54                android:name="com.google.android.gms.version"
55                android:value="@integer/google_play_services_version" />
56
57    </application>
58</manifest>