Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redmi Note7 判断手势提示线错误 #545

Open
xunsan opened this issue May 7, 2022 · 0 comments
Open

Redmi Note7 判断手势提示线错误 #545

xunsan opened this issue May 7, 2022 · 0 comments

Comments

@xunsan
Copy link

xunsan commented May 7, 2022

设备:Redme Note7 android 9 api 28
该设备没有手势提示线,也无法通过系统设置显示手势提示线。当处于全面屏手势时,执行
int i = Settings.Global.getInt(contentResolver, IMMERSION_NAVIGATION_BAR_MODE_MIUI_HIDE, -1);
会返回 -1。应当按照 checkNavigation = i == 0; 来判断有手势提示线,不能用 checkNavigation = i != 1;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant