Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f03ff614 authored by Diya Bera's avatar Diya Bera
Browse files

Check service before calling it

AuthenticationPolicyService is not available on watch, TV and auto. So
ServiceNotFoundException can be thrown on these devices via
BiometricService.Injector#getAuthenticationPolicyManager

Fixes: 423599294
Test: atest WatchRangingHelperTest
Flag: EXEMPT bug fix
Change-Id: I1c63538781061b97c492e1b3b895958f2403b8f5
parent 25fbdd63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment