title: Temporarily disabling fingerprint
body: <p>In FingerPrintSensor enabled devices when we restart a device it temporarily disables fingerprint and force user to unlock device using pin/password/pattern. I want to achieve this functionality so i am using <a href="https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html" rel="nofollow noreferrer">DevicePolicyManger</a> to lock user device.</p>
  
  <pre><code>mDevicePolicyManager.lockNow();
  </code></pre>
  
  <p>The problem is it does lock device but disables fingerprint only in few devices or ROMs. I have Redmi Note 3 with Custom rom like lineage OS and Mokee Rom it lock screen and also disables fingerprint. But with MIUI it just locks device but doesn't disable fingerprint.</p>
  
  <p>Why does this behave like this? How can i make sure it disables fingerprint authentication with every device/rom or is there any another alternative to achieve this?</p>