From 478b6f760cbbc5e53477cba9ca15be387400cc8b Mon Sep 17 00:00:00 2001 From: roynatech2544 Date: Sat, 7 May 2022 07:48:11 +0900 Subject: [PATCH] universal7885: Remove unused deps from health impl --- universal7885-common/health/Android.bp | 1 - universal7885-common/health/HealthImpl.cpp | 4 ---- 2 files changed, 5 deletions(-) diff --git a/universal7885-common/health/Android.bp b/universal7885-common/health/Android.bp index 97b5d02..89ccd41 100644 --- a/universal7885-common/health/Android.bp +++ b/universal7885-common/health/Android.bp @@ -21,7 +21,6 @@ cc_library_shared { "libbatterymonitor", "libhealthloop", "libhealth2impl", - "libc++fs" ], srcs: [ diff --git a/universal7885-common/health/HealthImpl.cpp b/universal7885-common/health/HealthImpl.cpp index 0ae66fd..1ec2bae 100644 --- a/universal7885-common/health/HealthImpl.cpp +++ b/universal7885-common/health/HealthImpl.cpp @@ -3,7 +3,6 @@ #include #include #include -#include // C++17 #include #include @@ -19,9 +18,6 @@ using ::android::hardware::health::V2_0::Result; using ::android::hardware::health::V1_0::BatteryStatus; using ::android::hidl::base::V1_0::IBase; using namespace std::literals; -namespace fs = std::filesystem; - -static int charge_cnt = 0; enum battery_stats { CHARGE_CNT,