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

Commit cab9ab33 authored by Eric Biggers's avatar Eric Biggers
Browse files

LockSettingsService: remove obsolete EventLog logging

As per go/asa-remove-safetynet-fix-requirement, EventLog statements that
were added for SafetyNet are deprecated and can be removed.

Test: presubmit
Change-Id: Idc5ff9171d3f40676183c2f5460886adff288f09
Merged-In: Idc5ff9171d3f40676183c2f5460886adff288f09
(cherry picked from commit 18346d8f)
parent e5946090
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -115,7 +115,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;
@@ -861,9 +860,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()
@@ -1108,9 +1104,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");
    }