How to determine if SmartLock is enabled on device

2019-08-10 08:40发布

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))?

2条回答
仙女界的扛把子
2楼-- · 2019-08-10 08:53

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.

查看更多
我欲成王,谁敢阻挡
3楼-- · 2019-08-10 08:57

No hints available

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

查看更多
登录 后发表回答