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

Commit 2a576021 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixing permanent lockout output for FingerprintService."

parents fada28cf cd7c35cf
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1338,6 +1338,8 @@ public class FingerprintService extends SystemService implements IHwBinder.Death
                set.put("rejectCrypto", (cryptoStats != null) ? cryptoStats.reject : 0);
                set.put("acquireCrypto", (cryptoStats != null) ? cryptoStats.acquire : 0);
                set.put("lockoutCrypto", (cryptoStats != null) ? cryptoStats.lockout : 0);
                set.put("permanentLockoutCrypto",
                    (cryptoStats != null) ? cryptoStats.permanentLockout : 0);
                sets.put(set);
            }

@@ -1367,7 +1369,7 @@ public class FingerprintService extends SystemService implements IHwBinder.Death
                proto.write(FingerprintActionStatsProto.REJECT, normal.reject);
                proto.write(FingerprintActionStatsProto.ACQUIRE, normal.acquire);
                proto.write(FingerprintActionStatsProto.LOCKOUT, normal.lockout);
                proto.write(FingerprintActionStatsProto.LOCKOUT_PERMANENT, normal.lockout);
                proto.write(FingerprintActionStatsProto.LOCKOUT_PERMANENT, normal.permanentLockout);
                proto.end(countsToken);
            }

@@ -1380,7 +1382,7 @@ public class FingerprintService extends SystemService implements IHwBinder.Death
                proto.write(FingerprintActionStatsProto.REJECT, crypto.reject);
                proto.write(FingerprintActionStatsProto.ACQUIRE, crypto.acquire);
                proto.write(FingerprintActionStatsProto.LOCKOUT, crypto.lockout);
                proto.write(FingerprintActionStatsProto.LOCKOUT_PERMANENT, crypto.lockout);
                proto.write(FingerprintActionStatsProto.LOCKOUT_PERMANENT, crypto.permanentLockout);
                proto.end(countsToken);
            }