title: Problem with rejecting incoming call
body: <p>I try to reject incoming call bu this code:</p>
  
  <pre><code>    private void ignoreCallAidl(Context context) 
  {
          try
          {
                  tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
                  Class c = Class.forName(tm.getClass().getName());
                  Method m = c.getDeclaredMethod("getITelephony");
                  m.setAccessible(true);
                  telephonyService = (ITelephony)m.invoke(tm);
                  telephonyService.silenceRinger();
                  telephonyService.endCall();
  
          } 
          catch (Exception e) 
          {
                  e.printStackTrace();
                  Log.e("App","FATAL ERROR: could not connect to telephony subsystem");
                  Log.e("App","Exception object: "+e);
          }
  }
  </code></pre>
  
  <p>But i get an error:
  Exception object: java.lang.ClassCastException: com.android.internal.telephony.ITelephony$Stub$Proxy</p>