Loading services/core/java/com/android/server/locksettings/LockSettingsService.java +0 −7 Original line number Diff line number Diff line Loading @@ -118,7 +118,6 @@ import android.system.keystore2.Domain; import android.text.TextUtils; import android.util.ArrayMap; import android.util.ArraySet; import android.util.EventLog; import android.util.Log; import android.util.LongSparseArray; import android.util.Slog; Loading Loading @@ -836,9 +835,6 @@ public class LockSettingsService extends ILockSettings.Stub { @Override // binder interface public void systemReady() { if (mContext.checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { EventLog.writeEvent(0x534e4554, "28251513", getCallingUid(), ""); // SafetyNet } checkWritePermission(); mHasSecureLockScreen = mContext.getPackageManager() Loading Loading @@ -1093,9 +1089,6 @@ public class LockSettingsService extends ILockSettings.Stub { } private final void checkPasswordHavePermission() { if (mContext.checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { EventLog.writeEvent(0x534e4554, "28251513", getCallingUid(), ""); // SafetyNet } mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsHave"); } Loading Loading
services/core/java/com/android/server/locksettings/LockSettingsService.java +0 −7 Original line number Diff line number Diff line Loading @@ -118,7 +118,6 @@ import android.system.keystore2.Domain; import android.text.TextUtils; import android.util.ArrayMap; import android.util.ArraySet; import android.util.EventLog; import android.util.Log; import android.util.LongSparseArray; import android.util.Slog; Loading Loading @@ -836,9 +835,6 @@ public class LockSettingsService extends ILockSettings.Stub { @Override // binder interface public void systemReady() { if (mContext.checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { EventLog.writeEvent(0x534e4554, "28251513", getCallingUid(), ""); // SafetyNet } checkWritePermission(); mHasSecureLockScreen = mContext.getPackageManager() Loading Loading @@ -1093,9 +1089,6 @@ public class LockSettingsService extends ILockSettings.Stub { } private final void checkPasswordHavePermission() { if (mContext.checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { EventLog.writeEvent(0x534e4554, "28251513", getCallingUid(), ""); // SafetyNet } mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsHave"); } Loading