I'm trying to customize my Android OS to temporarily shut down a few functionalities triggered by various intents. It's completely safe because it only happens on my device. However I have difficulty find out where the intent dispatcher lives. I've looked at ActivityManager, ActivityManagerService, and WindowManager with no luck. Ideally I hope to find a place like:
public void dispatchIntents(Intent i) {
//my code here
if (i == Intent.xxxx) {
//my customization here
}
.... // Android OS's own intent dispatching
}
Any ideas?