Home | History | Annotate | Download | only in InCallUI
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2013 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 
     17 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     18         package="com.android.incallui"
     19         coreApp="true" >
     20 
     21     <original-package android:name="com.android.incallui" />
     22 
     23     <uses-permission android:name="android.permission.READ_CONTACTS" />
     24     <uses-permission android:name="android.permission.VIBRATE"/>
     25     <uses-permission android:name="android.permission.INTERNET" />
     26     <uses-permission android:name="android.permission.WAKE_LOCK"/>
     27 
     28     <application
     29             android:name="InCallApp"
     30             android:label="@string/inCallLabel"
     31             android:supportsRtl="true">
     32 
     33         <!-- Main in-call UI activity.  This is never launched directly
     34              from outside the phone app; instead, it's either launched by
     35              the OutgoingCallBroadcaster (for outgoing calls), or as the
     36              fullScreenIntent of a notification (for incoming calls.) -->
     37         <activity android:name=".InCallActivity"
     38                   android:theme="@style/Theme.InCallScreen"
     39                   android:label="@string/inCallLabel"
     40                   android:excludeFromRecents="true"
     41                   android:launchMode="singleInstance"
     42                   android:screenOrientation="nosensor"
     43                   android:configChanges="keyboardHidden"
     44                   android:exported="false">
     45         </activity>
     46 
     47         <service android:name="CallHandlerService">
     48             <intent-filter>
     49                 <action android:name="com.android.services.telephony.common.ICallHandlerService" />
     50             </intent-filter>
     51         </service>
     52 
     53         <!-- BroadcastReceiver for receiving Intents from Notification mechanism. -->
     54         <receiver android:name="InCallApp$NotificationBroadcastReceiver" exported="false">
     55             <intent-filter>
     56                 <action android:name="com.android.incallui.ACTION_HANG_UP_ONGOING_CALL" />
     57             </intent-filter>
     58         </receiver>
     59 
     60     </application>
     61 </manifest>
     62