如何确定是否在设备上启用了SmartLock [英] How to determine if SmartLock is enabled on device

查看:93
本文介绍了如何确定是否在设备上启用了SmartLock的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以在Google设置中禁用密码智能锁定",因此,如果在系统层上禁用了我的应用,则我的应用不应显示登录提示.

It's possible to disable "Smart Lock for Passwords" in the Google settings, so my app shouldn't show the login hints, if it's disabled on the system layer.

是否有等同于确定是否禁用Smart Lock的功能,例如用于检查Google Play服务是否可用的API GoogleApiAvailability.getInstance() .isGooglePlayServicesAvailable(this))?

Is there anything equivalent to determine if Smart Lock is disabled, like the API to check if Google Play Services is available GoogleApiAvailability.getInstance() .isGooglePlayServicesAvailable(this))?

推荐答案

如果返回空选择器,则是一个错误;它不应该发生.已升级为工程团队,并且正在等待修复.影响少于实时设备的1%.问题解决后,将更新此答案.

It's a bug if empty picker is returned; it should not be happening. Have escalated to engineering team and fix is pending. Affects less than <1% of live devices. Will update this answer when the issue is resolved.

这篇关于如何确定是否在设备上启用了SmartLock的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆