From 41d13eb3974fe35e02ae94e9475731725852a3b7 Mon Sep 17 00:00:00 2001 From: Vova Sharaienko Date: Fri, 30 Apr 2021 18:02:50 +0000 Subject: [PATCH] Stats: Deprecate IStats HIDL interface for the Android S With IStats transition to the AIDL - the failure of HIDL service registration should not be considered as a fatal. Bug: 177667419 Test: build, flash & boot Change-Id: I1c0f159344219436bb116c92a99cb7e03ee01153 --- services/core/jni/com_android_server_SystemServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/jni/com_android_server_SystemServer.cpp b/services/core/jni/com_android_server_SystemServer.cpp index 6721ecfc40a10..bfd80054ffd2a 100644 --- a/services/core/jni/com_android_server_SystemServer.cpp +++ b/services/core/jni/com_android_server_SystemServer.cpp @@ -66,7 +66,7 @@ static void startStatsHidlService() { android::sp statsHal = new StatsHal(); const android::status_t err = statsHal->registerAsService(); - LOG_ALWAYS_FATAL_IF(err != android::OK, "Cannot register HIDL %s: %d", IStats::descriptor, err); + ALOGW_IF(err != android::OK, "Cannot register HIDL %s: %d", IStats::descriptor, err); } } // namespace