I want to secure my app with a fingerprint authentication dialog activity, it works, but if I choose to close the dialog here is what happens :
If I finish()
the activity it flashes on the screen but it's still annoying.
I am using android:theme="@style/Theme.AppCompat.Light.Dialog"
theme.
Is there any way to prevent this from poping up ?
Actually I just figured out why. It's because I was using
AppCompactActivity
. Using a simpleActivity
fixed the problem.