Fixes bug
28163930
Change-Id: Ic98ef20933b352159b88fdef331e83e9ef6e1f20
@Override
public void setLockPattern(String pattern, String savedCredential, int userId)
throws RemoteException {
+ checkWritePermission(userId);
byte[] currentHandle = getCurrentHandle(userId);
if (pattern == null) {
@Override
public void setLockPassword(String password, String savedCredential, int userId)
throws RemoteException {
+ checkWritePermission(userId);
byte[] currentHandle = getCurrentHandle(userId);
if (password == null) {