From b67f5d6f369fe61deb6953aa0c7de4b74482cea1 Mon Sep 17 00:00:00 2001 From: Tianjie Date: Wed, 17 Feb 2021 11:26:55 -0800 Subject: [PATCH] Make the new RoR atoms compile Make the code compile with the new atom definition. The reporting of true values will be done in follow up cls. Bug: 179105110 Test: build Change-Id: I65baf117afdd3e80e323b7beac92d408ac440114 (cherry picked from commit 9d4bcd6c3ea7f1b9b6d4d343c8740a88a49e2452) --- .../com/android/server/locksettings/RebootEscrowManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/locksettings/RebootEscrowManager.java b/services/core/java/com/android/server/locksettings/RebootEscrowManager.java index 30ea5556b41c0..7e00fd69a1482 100644 --- a/services/core/java/com/android/server/locksettings/RebootEscrowManager.java +++ b/services/core/java/com/android/server/locksettings/RebootEscrowManager.java @@ -194,7 +194,9 @@ class RebootEscrowManager { } public void reportMetric(boolean success) { - FrameworkStatsLog.write(FrameworkStatsLog.REBOOT_ESCROW_RECOVERY_REPORTED, success); + // TODO(b/179105110) design error code; and report the true value for other fields. + FrameworkStatsLog.write(FrameworkStatsLog.REBOOT_ESCROW_RECOVERY_REPORTED, 0, 1, 1, + -1, 0); } public RebootEscrowEventLog getEventLog() {