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

Commit 43b3159d authored by Shawn Lin's avatar Shawn Lin
Browse files

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
parent 61e7f37b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
        }
    }