From 9750537260ddf4e456e1e66bedbda07b3947cd45 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Thu, 12 Oct 2017 18:57:29 -0700 Subject: [PATCH] Fix an unnecessary dependency (framework => health@2.0-java) ...because BatteryManager does not need to talk to the HAL directly. Test: boots Bug: 63702641 Change-Id: I50c751ab383a44966e768d86ff1f3b67858e47d9 --- Android.mk | 2 -- services/core/Android.mk | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Android.mk b/Android.mk index 75e9a241a49ad..6186c55ee87e3 100644 --- a/Android.mk +++ b/Android.mk @@ -618,8 +618,6 @@ LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext LOCAL_STATIC_JAVA_LIBRARIES := \ framework-protos \ android.hidl.base-V1.0-java \ - android.hardware.health-V1.0-java \ - android.hardware.health-V2.0-java \ android.hardware.cas-V1.0-java \ android.hardware.health-V1.0-java-constants \ android.hardware.thermal-V1.0-java-constants \ diff --git a/services/core/Android.mk b/services/core/Android.mk index 599485ffe5c1f..1659133202d44 100644 --- a/services/core/Android.mk +++ b/services/core/Android.mk @@ -34,6 +34,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := \ time_zone_distro \ time_zone_distro_installer \ android.hidl.base-V1.0-java \ + android.hardware.health-V1.0-java \ + android.hardware.health-V2.0-java \ android.hardware.weaver-V1.0-java \ android.hardware.biometrics.fingerprint-V2.1-java \ android.hardware.oemlock-V1.0-java \