设为首页 加入收藏

TOP

Android6.0 源码修改之屏蔽系统短信功能和来电功能(三)
2019-09-01 23:14:30 】 浏览:81
Tags:Android6.0 源码 修改 屏蔽 系统 短信 功能和 来电 功能
param call The missed call. */ @Override public void showMissedCallNotification(Call call) { ////2018-10-10 cczheng hide missed call notification [S] if (true) { android.util.Log.i("misscall", "showMissedCallNotification......"); return; } ///2018-10-10 cczheng hide missed call notification [E] mMissedCallCount++; final int titleResId; final String expandedText; // The text in the notification's line 1 and 2. .... }

ok,这样我们就搞定了来电功能。

三、隐藏短信应用和电话应用在launcher中显示(去除AndroidManifest中的category)

<category android:name="android.intent.category.LAUNCHER" />

四、总结

Android源码修改没有大家想象的那么难,毕竟Google工程师都已经给我们标注了详细的注释说明,只是框架和封装的思路难以理解,这就考验我们的耐心了,Log是个好东西,多加日志,多分析,这样很容易上手。


首页 上一页 1 2 3 下一页 尾页 3/3/3
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇5步告诉你QQ音乐的完美音质是怎么.. 下一篇自己动手写Android插件化框架,让..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目