From fe7867acaecc58fd25c0e488aaec27ef4e7af636 Mon Sep 17 00:00:00 2001 From: Omer Nebil Yaveroglu Date: Fri, 24 Jan 2020 13:01:07 +0000 Subject: [PATCH] Fix the build breakage due to type mismatch. This change will be rolled back once change ag/10169247 is submitted. Bug: 147095027 Test: None Change-Id: Ibaece297d989b661bd6a1fc2d8cb9a624124cd46 --- .../server/integrity/AppIntegrityManagerServiceImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/integrity/AppIntegrityManagerServiceImpl.java b/services/core/java/com/android/server/integrity/AppIntegrityManagerServiceImpl.java index 2bdb33c067785..442211f451ee6 100644 --- a/services/core/java/com/android/server/integrity/AppIntegrityManagerServiceImpl.java +++ b/services/core/java/com/android/server/integrity/AppIntegrityManagerServiceImpl.java @@ -261,11 +261,15 @@ public class AppIntegrityManagerServiceImpl extends IAppIntegrityManager.Stub { + result.getEffect() + " due to " + result.getRule()); + + // TODO(b/147095027): Remove when the proto type is fixed. + int dummyBreakageFixerInt = 0; + StatsLog.write( StatsLog.INTEGRITY_CHECK_RESULT_REPORTED, packageName, appCert, - appInstallMetadata.getVersionCode(), + dummyBreakageFixerInt, installerPackageName, getLoggingResponse(result), isCausedByAppCertRule(result),