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

楼主5.1手机试过吗。 #6

Closed
aeatho opened this issue May 22, 2017 · 6 comments
Closed

楼主5.1手机试过吗。 #6

aeatho opened this issue May 22, 2017 · 6 comments

Comments

@aeatho
Copy link

aeatho commented May 22, 2017

本人亲测 华为荣耀6 5.1 透明状态栏失效。。。没有效果。望能解决啊。。。

@gyf-dev
Copy link
Owner

gyf-dev commented May 22, 2017

你的手机是emui3.1吧,这是华为rom的一个坑,这个问题我已经知道了,目前在解决中,下个版本修复 @aeatho

@aeatho
Copy link
Author

aeatho commented May 22, 2017

是的 - -

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP && !OSUtils.isEMUI3_1()) {

加了个判断,emui3.1的时候,走4.4的创建方式。

不知道 大神 你怎么解决!

@gyf-dev
Copy link
Owner

gyf-dev commented May 23, 2017

对,我打算就是这样解决,就是让它走4.4的流程

@gyf-dev
Copy link
Owner

gyf-dev commented May 23, 2017

@aeatho
已经更新到2.1.5,解决emui3.1无法沉浸的问题

@pisfans
Copy link

pisfans commented May 23, 2017

if ("EmotionUI 3".equals(property) || "EmotionUI_3.1".equals(property)||"EmotionUI_3.1.1".equals(property)) {
return true;
}
我发现了个3.1.1也要处理,,,,

@gyf-dev
Copy link
Owner

gyf-dev commented May 23, 2017

@pisfans
为了防止还有3.1.2、3.1.3等,准备这样处理了,已经更新

 if ("EmotionUI 3".equals(property) || property.contains("EmotionUI_3.1")) {
        return true;
 }

@gyf-dev gyf-dev closed this as completed May 27, 2017
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

3 participants