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

Commit f19001f2 authored by Daniel U's avatar Daniel U Committed by Android (Google) Code Review
Browse files

Merge "Override device lock pattern visibility when unifying" into nyc-dev

parents 47f67c1f 4af1661b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -684,6 +684,9 @@ public class SecuritySettings extends SettingsPreferenceFragment
                    mCurrentProfilePassword, mCurrentDevicePassword,
                    profileQuality, MY_USER_ID);
        }
        final boolean profilePatternVisibility =
                mLockPatternUtils.isVisiblePatternEnabled(mProfileChallengeUserId);
        mLockPatternUtils.setVisiblePatternEnabled(profilePatternVisibility, MY_USER_ID);
        mCurrentDevicePassword = null;
        mCurrentProfilePassword = null;
    }