vendor: charging: Move charger service to charging component

Change-Id: I7a10d03334711837b1d6f069c59086027e9cf119
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
This commit is contained in:
Richard Raya 2023-04-10 21:35:37 -03:00 committed by chrisl7
parent e6e1d5e363
commit 0238ca328f
3 changed files with 10 additions and 8 deletions

View File

@ -0,0 +1,6 @@
service charger /system/bin/charger
class charger
user system
group system graphics input
capabilities SYS_BOOT
seclabel u:r:charger:s0

View File

@ -12,11 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Suspend
PRODUCT_PACKAGES += \
libsuspend
# Init
PRODUCT_COPY_FILES += \
device/qcom/common/vendor/charging/vendor.qti.hardware.charger_monitor@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc
$(QCOM_COMMON_PATH)/vendor/charging/init.charger_service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.charger_service.rc \
$(QCOM_COMMON_PATH)/vendor/charging/vendor.qti.hardware.charger_monitor@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc
# Get non-open-source specific aspects.
$(call inherit-product-if-exists, vendor/qcom/common/vendor/charging/charging-vendor.mk)

View File

@ -59,13 +59,6 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
disabled
oneshot
service charger /system/bin/charger
class charger
user system
group system graphics input
capabilities SYS_BOOT
seclabel u:r:charger:s0
service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
override
class hal