1 <?xml version="1.0" encoding="utf-8"?> 2 3 <manifest package="com.android.voicedialer" 4 xmlns:android="http://schemas.android.com/apk/res/android" > 5 6 <original-package android:name="com.android.voicedialer" /> 7 8 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 9 <uses-permission android:name="android.permission.CALL_PRIVILEGED" /> 10 <uses-permission android:name="android.permission.READ_CONTACTS" /> 11 <uses-permission android:name="android.permission.READ_CALL_LOG" /> 12 <uses-permission android:name="android.permission.VIBRATE" /> 13 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 14 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> 15 <uses-permission android:name="android.permission.BLUETOOTH" /> 16 <uses-permission android:name="android.permission.WAKE_LOCK" /> 17 18 <application android:theme="@android:style/Theme.Dialog" 19 android:label="@string/voiceDialer" 20 android:icon="@drawable/app_voicedialer"> 21 <!-- Initial Page --> 22 <activity android:name="VoiceDialerActivity"> 23 <intent-filter> 24 <action android:name="android.intent.action.MAIN"/> 25 <category android:name="android.intent.category.LAUNCHER"/> 26 </intent-filter> 27 <intent-filter android:priority="10"> 28 <action android:name="android.intent.action.VOICE_COMMAND"/> 29 <category android:name="android.intent.category.DEFAULT" /> 30 </intent-filter> 31 </activity> 32 33 <receiver android:name="VoiceDialerReceiver"> 34 <!-- Voice Dialer clears compiled grammar file on boot --> 35 <intent-filter> 36 <action android:name="android.intent.action.BOOT_COMPLETED" /> 37 </intent-filter> 38 39 <!-- VoiceDialer clears compiled grammar if apps change --> 40 <intent-filter> 41 <action android:name="android.intent.action.PACKAGE_ADDED" /> 42 <action android:name="android.intent.action.PACKAGE_CHANGED" /> 43 <action android:name="android.intent.action.PACKAGE_REMOVED" /> 44 <data android:scheme="package" /> 45 </intent-filter> 46 47 <!-- Voice Dialer Logging Enabled, *#*#VDL1#*#* --> 48 <intent-filter> 49 <action android:name="android.provider.Telephony.SECRET_CODE" /> 50 <data android:scheme="android_secret_code" android:host="8351" /> 51 </intent-filter> 52 53 <!-- Voice Dialer Logging Disabled, *#*#VDL0#*#* --> 54 <intent-filter> 55 <action android:name="android.provider.Telephony.SECRET_CODE" /> 56 <data android:scheme="android_secret_code" android:host="8350" /> 57 </intent-filter> 58 59 </receiver> 60 61 </application> 62 63 </manifest> 64 65