commit | 68c33d52bfa8aa8c36859799d649b10f0eac3d33 | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Fri May 08 08:44:59 2015 -0700 |
committer | Alex Klyubin <klyubin@google.com> | Fri May 08 08:47:19 2015 -0700 |
tree | d99634b2f7dc33677ead6dae85db1a35f24a4d7e | |
parent | dc9b2dfae2d2c0ef6d7e8d769a78abc17add537a [diff] |
Switch to KeyguardManager.isDeviceSecure. isKeyguardSecure also returns true when SIM PIN is required. We don't care about that because entering SIM PIN does not unlock keys requiring user authentication. isDeviceSecure returns true only if secure lock screen is set up, which is exactly what we want. Bug: 18088752 Change-Id: I47b21f3351f55c11e8e9bcfd7654762973dd9271