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

三星 S8 提示 未开启锁屏密码(已经开启) #4

Open
Lee465357793 opened this issue Sep 18, 2018 · 3 comments
Open

三星 S8 提示 未开启锁屏密码(已经开启) #4

Lee465357793 opened this issue Sep 18, 2018 · 3 comments

Comments

@Lee465357793
Copy link

我注释这部分代码后,功能正常使用
//判断 是否开启锁屏密码

    if (mKeyManager.isKeyguardSecure()) {
        publishSubject.onNext(new IdentificationInfo(KEYGUARDSECURE_MISSIING_ERROR));
        isDeviceSupport = false;
    }
@Zweihui
Copy link
Owner

Zweihui commented Sep 19, 2018

是的,这里代码在上次修改后失误删掉了“!”,应该是下面的代码,新代码已经提交

if (!mKeyManager.isKeyguardSecure()) {
        publishSubject.onNext(new IdentificationInfo(KEYGUARDSECURE_MISSIING_ERROR));
        isDeviceSupport = false;
    }

@EaniaHuui
Copy link

是的,这里代码在上次修改后失误删掉了“!”,应该是下面的代码,新代码已经提交

if (!mKeyManager.isKeyguardSecure()) {
        publishSubject.onNext(new IdentificationInfo(KEYGUARDSECURE_MISSIING_ERROR));
        isDeviceSupport = false;
    }

但是依赖里面1.2.1的版本,还是原来的代码,那个感叹号并没有加上

@Gavin731
Copy link

Gavin731 commented Apr 2, 2019

是的,这里代码在上次修改后失误删掉了“!”,应该是下面的代码,新代码已经提交

if (!mKeyManager.isKeyguardSecure()) {
        publishSubject.onNext(new IdentificationInfo(KEYGUARDSECURE_MISSIING_ERROR));
        isDeviceSupport = false;
    }

但是依赖里面1.2.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

4 participants