RxFingerPrinter icon indicating copy to clipboard operation
RxFingerPrinter copied to clipboard

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

Open Lee465357793 opened this issue 6 years ago • 3 comments

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

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

Lee465357793 avatar Sep 18 '18 02:09 Lee465357793

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

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

Zweihui avatar Sep 19 '18 01:09 Zweihui

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

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

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

EaniaHuui avatar Mar 18 '19 06:03 EaniaHuui

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

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

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

估计不维护了

Gavin731 avatar Apr 02 '19 08:04 Gavin731