问题
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 ?
回答1:
Actually I just figured out why. It's because I was using AppCompactActivity. Using a simple Activity fixed the problem.
来源:https://stackoverflow.com/questions/45017988/app-name-displayed-when-finish-dialog-activity