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

Commit 9310f5c9 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

dumpProto fixed crypto performance dump

fixed bug 35627933
Test: ran adb shell dumpsys fingerprint --proto > ~/Desktop/test.out
protoc --decode_raw < ~/Desktop/test.out
confirm that crypto output is fixed

Change-Id: Ie3bc996142e1e7e2be366ce6bb394ec2fe774393
parent 86613aca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1180,7 +1180,7 @@ public class FingerprintService extends SystemService implements IHwBinder.Death

            // Statistics about secure fingerprint transactions (e.g. to unlock password
            // storage, make secure purchases, etc.)
            final PerformanceStats crypto = mPerformanceMap.get(userId);
            final PerformanceStats crypto = mCryptoPerformanceMap.get(userId);
            if (crypto != null) {
                final long countsToken = proto.start(FingerprintUserStatsProto.CRYPTO);
                proto.write(FingerprintActionStatsProto.ACCEPT, crypto.accept);