Fixed userId not updated when user changed
The userId for "Unlock your phone" & "verify it's you in app" settings in face setting page are not updated correctly when user changed. Bug: 393236814 Test: Manual - go face settings and enable/disable these two button Flag: com.android.settings.flags.biometrics_onboarding_education Change-Id: I840eaaab13b8ad9f4e79ae2cf2e47dd22ed2ff8b
This commit is contained in:
@@ -246,6 +246,8 @@ public class FaceSettings extends DashboardFragment {
|
||||
final PreferenceCategory category =
|
||||
findPreference(PREF_KEY_USE_FACE_TO_CATEGORY);
|
||||
category.setVisible(true);
|
||||
use(FaceSettingsKeyguardUnlockPreferenceController.class).setUserId(mUserId);
|
||||
use(FaceSettingsAppsPreferenceController.class).setUserId(mUserId);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user