步骤一:
源码/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
找到addStatusBarWindow()方法,在方法最后加一行代码mStatusBarView.setVisibility(View.GONE);变为:
private void addStatusBarWindow() {
makeStatusBarView();
mStatusBarWindowManager = newStatusBarWindowManager(mContext);
mStatusBarWindowManager.add(mStatusBarWindow,getStatusBarHeight());
mStatusBarView.setVisibility(View.GONE);
}
添加以上代码后发现,第二次开机 系统界面故障
步骤二:
源码/frameworks/base/core/res/res/values/dimens.xml
修改<dimenname=”status_bar_height”>25dip</dimen>为
<dimenname=”status_bar_height”>0dip</dimen>