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
This commit is contained in:
Vova Sharaienko
2021-04-30 18:02:50 +00:00
parent c96669eac2
commit 41d13eb397

View File

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