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

Skip to content
Commit 8d8ec534 authored by lbill's avatar lbill Committed by Android Build Coastguard Worker
Browse files

Fix Settings crash on non face service support devices

Doing some improvement for stability:

1. Check hasSystemFeature(PackageManager.FEATURE_FACE) for non-face
   service devices.
2. Wrap addAuthenticatorsRegisteredCallback()
3. Find mPreference before addAuthenticatorsRegisteredCallback

Bug: 276680407
Bug: 278174667
Bug: 277647959
Bug: 277725506
Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER= \
      FaceSettingsFooterPreferenceControllerTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e85d588904e549d2eadd249ba0a03acfb2b02382)
Merged-In: I81346b6eb8c44106c5e52867d69c8736203dd558
Change-Id: I81346b6eb8c44106c5e52867d69c8736203dd558
parent 2a8b669e
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