• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        <!--
36        Important Note: When you have a local/native Android Wear app that creates it's own
37        notifications, you will want to disable the bridge to the phone.
38        -->
39        <meta-data
40            android:name="com.google.android.wearable.notificationBridgeMode"
41            android:value="NO_BRIDGING" />
42
43        <activity
44            android:name=".chatlist.ChatListActivity"
45            android:label="@string/app_name"
46            android:theme="@style/SplashTheme">
47            <intent-filter>
48                <action android:name="android.intent.action.MAIN" />
49                <category android:name="android.intent.category.LAUNCHER" />
50            </intent-filter>
51        </activity>
52
53        <activity
54            android:name=".SignInActivity"
55            android:label="@string/sign_in"
56            android:theme="@style/BlueTheme" />
57        <activity
58            android:name=".contacts.ContactsListActivity"
59            android:label="@string/activity_contacts"
60            android:theme="@style/BlueTheme" />
61        <activity
62            android:name=".chat.ChatActivity"
63            android:label="@string/activity_chat"
64            android:theme="@style/BlueTheme" />
65
66        <receiver android:name=".chat.MockIncomingMessageReceiver" android:exported="false">
67            <intent-filter>
68                <action android:name="com.example.android.wearable.wear.messaging.action.RECEIVE_MESSAGE" />
69            </intent-filter>
70        </receiver>
71
72        <service android:name=".chat.ReplyToMessageIntentService" android:exported="false" />
73
74    </application>
75
76</manifest>
77