摘要:
思路:要想挂断电话,必然会用到电话服务:getSystemService(TELEPHONY_SERVICE);但查看源码时,发现[java]view plaincopy@OverridepublicObjectgetSystemService(Stringname){returnmBase.getSystemService(name); }继续查找:[java]view plaincopyContextmBase;publicContextWrapper(Contextbase){mBase=base;}接着查看Context的源码publicabstractclassContext{... 阅读全文