<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/IM/AndroidManifest.xml
*
* Copyright (C) 2008 Esmertec AG.
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.im" android:sharedUserId="android.uid.im"
android:sharedUserLabel="@string/perm_label">
<uses-permission android:name="com.android.providers.im.permission.READ_ONLY" />
<uses-permission android:name="com.android.providers.im.permission.WRITE_ONLY" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="com.android.im.permission.IM_SERVICE" />
<permission android:name="com.android.im.permission.IM_SERVICE"
android:permissionGroup="android.permission-group.MESSAGES"
android:protectionLevel="dangerous"
android:label="@string/perm_label"
android:description="@string/perm_desc" />
<application android:name=".app.ImApp"
android:label="@string/im_label"
android:icon="@drawable/ic_launcher_im"
android:taskAffinity="android.task.im">
<uses-library android:name="com.android.im.plugin" />
<!-- TODO: Remove dependency of application on the test runner
(android.test) library. -->
<uses-library android:name="android.test.runner" />
<service android:name=".app.FrontDoorPlugin">
<intent-filter>
<action android:name="android.im.plugin" />
</intent-filter>
</service>
<service android:name=".service.RemoteImService"
android:process="android.process.im"
android:exported="true"
android:permission="com.android.im.permission.IM_SERVICE">
<intent-filter>
<action android:name="com.android.im.IRemoteImService" />
<action android:name="com.android.im.SERVICE" />
</intent-filter>
</service>
<activity android:name=".app.ChooseAccountActivity"
android:theme="@android:style/Theme.NoDisplay">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".app.ImUrlActivity" >
<intent-filter>
<action android:name="android.intent.action.SENDTO" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="com.android.im.category.AIM" />
<category android:name="com.android.im.category.MSN" />
<category android:name="com.android.im.category.YAHOO" />
<data android:scheme="im" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SENDTO" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="imto" android:host="aim"/>
<data android:scheme="imto" android:host="yahoo"/>
<data android:scheme="imto" android:host="msn"/>
</intent-filter>
</activity>
<activity android:name=".app.AccountActivity">
<intent-filter>
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="com.android.im.IMPS_CATEGORY" />
<data android:mimeType="vnd.android.cursor.item/im-accounts" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.INSERT" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="com.android.im.IMPS_CATEGORY" />
<data android:mimeType="vnd.android.cursor.item/im-providers" />
</intent-filter>
</activity>
<activity android:name=".app.SigningInActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".app.SignoutActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".app.ContactListActivity" android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="com.android.im.IMPS_CATEGORY" />
<data android:mimeType="vnd.android.cursor.dir/im-contacts"/>
</intent-filter>
</activity>
<activity android:name=".app.AddContactActivity"
android:label="@string/add_contact_title"/>
<activity android:name=".app.NewChatActivity"
android:configChanges="orientation|keyboardHidden"
android:windowSoftInputMode="stateUnchanged">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="com.android.im.IMPS_CATEGORY" />
<data android:mimeType="vnd.android.cursor.item/im-chats" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/im-invitations" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.IM_MANAGE_SUBSCRIPTION"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="vnd.android.cursor.item/im-contacts"/>
</intent-filter>
</activity>
<activity android:name=".app.ContactsPickerActivity" android:label="@string/contacts_picker_title">
<intent-filter>
<action android:name="android.intent.action.PICK" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.dir/im-contacts" />
</intent-filter>
</activity>
<activity android:name=".app.BlockedContactsActivity" android:label="@string/blocked_list_title">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.dir/im-blockedList" />
</intent-filter>
</activity>
<activity android:name=".app.ContactPresenceActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/im-contacts" />
</intent-filter>
</activity>
<activity android:name=".app.PreferenceActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>
<activity android:name=".app.SettingActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="com.android.im.IMPS_CATEGORY" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android-dir/im-providerSettings" />
</intent-filter>
</activity>
<activity android:name=".app.SimpleInputActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>
<receiver android:name=".receiver.ImServiceAutoStarter"
android:process="android.process.im">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
</application>
</manifest>