Identify calling program
<p>I'm modifying the Android framework so that certain functions provided by the framework behave differently depending on the program calling it. So for example, if I want to alter the method getSimState() to always return SIM_STATE_ABSENT if the program requesting the sim state is from package com.example.app1</p>

<p>Is this possible and if so, is there an SDK API to identify the requesting app? Thanks.</p>
