How to determine if SmartLock is enabled on device

为君一笑 提交于 2019-12-11 04:42:44

问题


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.

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.




回答2:


I'm getting this dialog, if no hints are available, so I can only dismiss this dialog.



来源:https://stackoverflow.com/questions/36402251/how-to-determine-if-smartlock-is-enabled-on-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!