Merge changes I9ded8efd,Ic26e47c1 into rvc-qpr-dev

* changes:
  Update authentication when encrypted or lockout
  Check foreground and appOps for BiometricPrompt#authenticate