views:

16

answers:

0

Ok, I have written a task switching application that allows you to see all currently "running" apps and allows you to quickly switch between them.

Everything works fine and I have it published on the Android Market as "AppSwipe!"

However, there is a running app that always shows up after making a phone call that I can't switch to due to a SecurityException. The log message is below:

09-20 09:31:35.006: WARN/ActivityManager(71): Permission Denial: starting Intent { act=android.intent.action.CALL dat=tel:xxxxxxxxxx flg=0x10e20000 cmp=com.android.phone/.InCallScreen (has extras) } from ProcessRecord{438ed628 19614:com.magouyaware.appswipe/10047} (pid=19614, uid=10047) requires null

I don't understand why I can't launch this because I am programmatically determining if I have the permissions to launch an activity before I attempt to launch it.

The info for this activity is:
Package: com.android.phone
Class: com.android.phone.InCallScreen

The activity is exported and doesn't have any permissions that I can programmatically check for.

Any ideas why I can't launch this running app?