1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 ~ Copyright 2017 Google Inc. 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.messaging"> 19 20 <uses-feature android:name="android.hardware.type.watch" /> 21 22 <uses-permission android:name="android.permission.INTERNET" /> 23 <uses-permission android:name="android.permission.READ_CONTACTS" /> 24 25 <application 26 android:allowBackup="true" 27 android:icon="@mipmap/ic_launcher" 28 android:label="@string/app_name" 29 android:theme="@android:style/Theme.DeviceDefault"> 30 31 <meta-data 32 android:name="com.google.android.wearable.standalone" 33 android:value="true" /> 34 35 <uses-library 36 android:name="com.google.android.wearable" 37 android:required="false" /> 38 39 <!-- 40 Important Note: When you have a local/native Wear app that creates it's own 41 notifications, you will want to disable the bridge to the phone. 42 --> 43 <meta-data 44 android:name="com.google.android.wearable.notificationBridgeMode" 45 android:value="NO_BRIDGING" /> 46 47 <activity 48 android:name=".chatlist.ChatListActivity" 49 android:label="@string/app_name" 50 android:theme="@style/SplashTheme"> 51 <intent-filter> 52 <action android:name="android.intent.action.MAIN" /> 53 <category android:name="android.intent.category.LAUNCHER" /> 54 </intent-filter> 55 </activity> 56 57 <activity 58 android:name=".SignInActivity" 59 android:label="@string/sign_in" 60 android:theme="@style/BlueTheme" /> 61 <activity 62 android:name=".contacts.ContactsListActivity" 63 android:label="@string/activity_contacts" 64 android:theme="@style/BlueTheme" /> 65 <activity 66 android:name=".chat.ChatActivity" 67 android:label="@string/activity_chat" 68 android:theme="@style/BlueTheme" /> 69 70 <receiver android:name=".chat.MockIncomingMessageReceiver" android:exported="false"> 71 <intent-filter> 72 <action android:name="com.example.android.wearable.wear.messaging.action.RECEIVE_MESSAGE" /> 73 </intent-filter> 74 </receiver> 75 76 <service android:name=".chat.ReplyToMessageIntentService" android:exported="false" /> 77 78 </application> 79 80</manifest> 81