Merge "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"

This commit is contained in:
TreeHugger Robot
2017-02-24 03:47:19 +00:00
committed by Android (Google) Code Review

View File

@@ -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);