3/n: Tapping outside of the dialog should cancel authentication

Authentication should not be canceled in the following states
1) small dialog
2) authenticated (confirmation not required, or confirmation required &&
   confirm button pressed)

Bug: 123378871

Test: manual test of above conditions
Test: atest com.android.systemui.biometrics

Change-Id: I6ed3b0a0ba7cea3e6dc00f550381f51a1694f6a5
4 files changed