https://blog.csdn.net/zhoukongxiao/article/details/84139737
private boolean checkHasNavigationBar(Context context) { boolean hasNavigationBar = false; if ((Settings.Global.getInt(context.getContentResolver(), "force_fsg_nav_bar", 0) != 0)) { hasNavigationBar = true; } return hasNavigationBar; }