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

Commit 0cf13701 authored by Kenny Guy's avatar Kenny Guy
Browse files

Fix setLong so it actualy uses userHandle passed in.

Change-Id: Iddcd02b25890cf0a8d5569699b53e97b8640000d
parent c3c4d36d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1200,7 +1200,7 @@ public class LockPatternUtils {


    private void setLong(String secureSettingKey, long value, int userHandle) {
    private void setLong(String secureSettingKey, long value, int userHandle) {
        try {
        try {
            getLockSettings().setLong(secureSettingKey, value, getCurrentOrCallingUserId());
            getLockSettings().setLong(secureSettingKey, value, userHandle);
        } catch (RemoteException re) {
        } catch (RemoteException re) {
            // What can we do?
            // What can we do?
            Log.e(TAG, "Couldn't write long " + secureSettingKey + re);
            Log.e(TAG, "Couldn't write long " + secureSettingKey + re);