summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Vova Sharaienko <sharaienko@google.com> 2021-04-30 18:02:50 +0000
committer Vova Sharaienko <sharaienko@google.com> 2021-05-10 16:03:06 +0000
commit41d13eb3974fe35e02ae94e9475731725852a3b7 (patch)
tree29fe01097322e4a1314950c5d6e3a260873f3076
parentc96669eac23ff362e4cd8f97a9ecdb1141b981ee (diff)
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
-rw-r--r--services/core/jni/com_android_server_SystemServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/jni/com_android_server_SystemServer.cpp b/services/core/jni/com_android_server_SystemServer.cpp
index 6721ecfc40a1..bfd80054ffd2 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<IStats> 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