FODCircleView: handle more visibility cases
This commit accounts the cases where the device has already been unlocked by another biometric method or Trust Agent.
In these cases, showing the FOD view it's useless.
Tests executed:
- Added a Bluetooth device as Trusted Device via Smart Lock, ensured FOD wasn't visible
- Used other biometric methods to unlock the device, ensured FOD wasn't visible
- Enabled On-body detection, ensured FOD wasn't visible
- Enabled Trusted places, ensured FOD wasn't visible
- Triggered biometric failure with too many unrecognized attempts, ensured FOD wasn't visible while transitioning back and forth from AOD.
- Triggered floating biometric dialog and ensured its functionality
Change-Id: I94496d4a42f60dfb1ce13a5c306ff08be3eba23e
1 file changed