framework/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
protected void makeStatusBarView() {
final Context context = mContext;
updateDisplaySize(); // populates mDisplayMetrics
updateResources();
updateTheme();
....
try {
boolean showNav = mWindowManagerService.hasNavigationBar();
if (DEBUG) Log.v(TAG, "hasNavigationBar=" + showNav);
if (showNav) {
//直接注释下面这行代码,关闭底部导航
//createNavigationBar();
}
} catch (RemoteException ex) {
// no window manager? good luck with that
}
....
}
直接注释createNavigationBar()或者将showNav=false就能达到需求效果