title: Android - invalidate Fingerprint authentication when user minimises app but not when when moving across activities
body: <p>I have an app in which fingerprint lock is used to protect the app from  being used without first authenticating with the fingerprint.
  The issue is that the verification only happens at first launch of the app; so after first launch, no more verification until when the app is being launched again,
  But I want the current verification to be valid when moving across different activities in the app, but it should be invalidated if the user minimises the app or when the phone screen goes off, so that the user would be asked to verify fingerprint again after minimizing and resuming back into the app.</p>
  <p>I have tried using a base activity and overriding the onPause and onResume, but the methods get called even when moving across activities, which is not what I want.</p>