1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright 2017 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17<manifest xmlns:android="http://schemas.android.com/apk/res/android" 18 package="com.example.android.wearable.wear.wearcomplicationproviderstestsuite" 19 android:versionCode="1" 20 android:versionName="1.0"> 21 22 <uses-feature android:name="android.hardware.type.watch"/> 23 <uses-permission android:name="android.permission.WAKE_LOCK" /> 24 25 <application android:allowBackup="true" 26 android:label="@string/app_name" 27 android:icon="@drawable/ic_launcher" 28 android:theme="@style/AppTheme"> 29 30 <meta-data 31 android:name="com.google.android.wearable.standalone" 32 android:value="true" /> 33 <uses-library 34 android:name="com.google.android.wearable" 35 android:required="false"/> 36 37 38 <service 39 android:icon="@drawable/ic_not_interested_vd_theme_24" 40 android:label="@string/no_data_label" 41 android:name=".NoDataProviderService" 42 android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER"> 43 <intent-filter> 44 <action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST"/> 45 </intent-filter> 46 47 <meta-data 48 android:name="android.support.wearable.complications.SUPPORTED_TYPES" 49 android:value="SHORT_TEXT,LONG_TEXT,SMALL_IMAGE,ICON,RANGED_VALUE,LARGE_IMAGE"/> 50 <meta-data 51 android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS" 52 android:value="0"/> 53 </service> 54 55 <service 56 android:icon="@drawable/ic_title_vd_theme_24" 57 android:label="@string/short_text_label" 58 android:name=".ShortTextProviderService" 59 android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER"> 60 <intent-filter> 61 <action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST"/> 62 </intent-filter> 63 64 <meta-data 65 android:name="android.support.wearable.complications.SUPPORTED_TYPES" 66 android:value="SHORT_TEXT"/> 67 <meta-data 68 android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS" 69 android:value="0"/> 70 </service> 71 72 <service 73 android:icon="@drawable/ic_image_vd_theme_24" 74 android:label="@string/small_image_label" 75 android:name=".SmallImageProviderService" 76 android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER"> 77 <intent-filter> 78 <action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST"/> 79 </intent-filter> 80 81 <meta-data 82 android:name="android.support.wearable.complications.SUPPORTED_TYPES" 83 android:value="SMALL_IMAGE"/> 84 <meta-data 85 android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS" 86 android:value="0"/> 87 </service> 88 89 <service 90 android:icon="@drawable/ic_landscape_vd_theme_24" 91 android:label="@string/large_image_label" 92 android:name=".LargeImageProviderService" 93 android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER"> 94 <intent-filter> 95 <action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST"/> 96 </intent-filter> 97 98 <meta-data 99 android:name="android.support.wearable.complications.SUPPORTED_TYPES" 100 android:value="LARGE_IMAGE"/> 101 <meta-data 102 android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS" 103 android:value="0"/> 104 </service> 105 106 <service 107 android:icon="@drawable/ic_face_vd_theme_24" 108 android:label="@string/icon_label" 109 android:name=".IconProviderService" 110 android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER"> 111 <intent-filter> 112 <action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST"/> 113 </intent-filter> 114 115 <meta-data 116 android:name="android.support.wearable.complications.SUPPORTED_TYPES" 117 android:value="ICON"/> 118 <meta-data 119 android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS" 120 android:value="0"/> 121 </service> 122 123 <service 124 android:icon="@drawable/ic_short_text_vd_theme_24" 125 android:label="@string/long_text_label" 126 android:name=".LongTextProviderService" 127 android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER"> 128 <intent-filter> 129 <action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST"/> 130 </intent-filter> 131 132 <meta-data 133 android:name="android.support.wearable.complications.SUPPORTED_TYPES" 134 android:value="LONG_TEXT"/> 135 <meta-data 136 android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS" 137 android:value="0"/> 138 </service> 139 140 <service 141 android:icon="@drawable/ic_data_usage_vd_theme_24" 142 android:label="@string/ranged_value_label" 143 android:name=".RangedValueProviderService" 144 android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER"> 145 <intent-filter> 146 <action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST"/> 147 </intent-filter> 148 149 <meta-data 150 android:name="android.support.wearable.complications.SUPPORTED_TYPES" 151 android:value="RANGED_VALUE"/> 152 <meta-data 153 android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS" 154 android:value="0"/> 155 </service> 156 157 <receiver android:name=".ComplicationToggleReceiver"/> 158 </application> 159</manifest> 160