Home | History | Annotate | Download | only in main
      1 <!--
      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 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     17     package="com.example.android.messagingservice">
     18 
     19     <application android:allowBackup="true"
     20         android:label="@string/app_name"
     21         android:icon="@drawable/ic_launcher"
     22         android:theme="@style/AppTheme">
     23 
     24         <meta-data android:name="com.google.android.gms.car.application"
     25                    android:resource="@xml/automotive_app_desc"/>
     26 
     27         <activity
     28             android:name=".MainActivity"
     29             android:label="@string/app_name" >
     30             <intent-filter>
     31                 <action android:name="android.intent.action.MAIN" />
     32 
     33                 <category android:name="android.intent.category.LAUNCHER" />
     34             </intent-filter>
     35         </activity>
     36 
     37         <service android:name=".MessagingService">
     38         </service>
     39 
     40         <receiver
     41             android:name=".MessageReadReceiver"
     42             android:exported="false">
     43             <intent-filter>
     44                 <action android:name="com.example.android.messagingservice.ACTION_MESSAGE_READ"/>
     45             </intent-filter>
     46         </receiver>
     47 
     48         <receiver
     49             android:name=".MessageReplyReceiver"
     50             android:exported="false">
     51             <intent-filter>
     52                 <action android:name="com.example.android.messagingservice.ACTION_MESSAGE_REPLY"/>
     53             </intent-filter>
     54         </receiver>
     55     </application>
     56 </manifest>
     57