|
12 | 12 |
|
13 | 13 | <activity android:name=".CallFaker" |
14 | 14 | android:label="@string/app_name"> |
| 15 | + <!-- Many combinations of intents will get here; |
| 16 | + *** exact list may not be right but handles most cases. |
| 17 | + *** Gleaned by inspecting the actual Dialer code. |
| 18 | + --> |
15 | 19 | <intent-filter> |
16 | | - <action android:name="android.intent.action.CALL" /> |
17 | 20 | <action android:name="android.intent.action.DIAL" /> |
18 | | - <category android:name="android.intent.category.DEFAULT"/> |
| 21 | + <category android:name="android.intent.category.DEFAULT" /> |
| 22 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 23 | + <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 24 | + <data android:mimeType="vnd.android.cursor.item/person" /> |
| 25 | + </intent-filter> |
| 26 | + <intent-filter> |
| 27 | + <action android:name="android.intent.action.DIAL" /> |
| 28 | + <category android:name="android.intent.category.DEFAULT" /> |
| 29 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 30 | + <data android:scheme="voicemail" /> |
| 31 | + </intent-filter> |
| 32 | + <intent-filter> |
| 33 | + <action android:name="android.intent.action.DIAL" /> |
| 34 | + <category android:name="android.intent.category.DEFAULT" /> |
| 35 | + </intent-filter> |
| 36 | + <intent-filter> |
| 37 | + <action android:name="android.intent.action.MAIN" /> |
| 38 | + <category android:name="android.intent.category.DEFAULT" /> |
| 39 | + <category android:name="android.intent.category.LAUNCHER" /> |
| 40 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 41 | + </intent-filter> |
| 42 | + <intent-filter> |
| 43 | + <action android:name="android.intent.action.VIEW" /> |
| 44 | + <action android:name="android.intent.action.DIAL" /> |
| 45 | + <category android:name="android.intent.category.DEFAULT" /> |
| 46 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 47 | + <data android:scheme="tel" /> |
| 48 | + </intent-filter> |
| 49 | + <intent-filter> |
| 50 | + <action android:name="android.intent.action.CALL_BUTTON" /> |
| 51 | + <category android:name="android.intent.category.DEFAULT" /> |
| 52 | + <category android:name="android.intent.category.BROWSABLE" /> |
19 | 53 | </intent-filter> |
20 | 54 | </activity> |
21 | 55 |
|
|
0 commit comments