android 7.1.2 小功能修改

去除锁屏时的 紧急呼救 拨号快捷:

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java

frameworks/base/packages/Keyguard/src/com/android/keyground/EmergencyButton.java

设置方法:updateLeftAffordanceIcon()  和  updateEmergencyCallButton();

visible = false;

 

去掉WiFi的小叉叉:

frameworks/base/packages/SettingsProvider/res/values/defaules.xml

def_networks_available_notification_on   true --> false

frameworks/base/services/core/java/com/android/server/connectivity/NetworkMonitor.java

isCaptivePortal() 

mIsCaptivePortalCheckEnabled = false;

 

禁止开机提示无SIM卡插入:

frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/UiccCard.java

notifyNoCardInserted(mPhoneId)

 

 

 

 

     
上一篇:javascript – 试图让XUI正常工作


下一篇:Android Camera 流程学习记录(一)—— Camera 基本架构