From ecafc60a4ea4212fa4edb161651c53d3e8155d4e Mon Sep 17 00:00:00 2001 From: Ameya Thakur Date: Tue, 25 Apr 2017 15:03:27 -0700 Subject: [PATCH] sdm660_64: Update per_mgr path Peripheral manager now sits in the vendor directory/partition. Update the init script to reflect the same. Change-Id: Icc26f8b6269849b9d6c8a5a81b9cf1dddfc70fbf --- android_filesystem_config.h | 1 + init.target.rc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/android_filesystem_config.h b/android_filesystem_config.h index 7251a08c..0785d55d 100755 --- a/android_filesystem_config.h +++ b/android_filesystem_config.h @@ -35,6 +35,7 @@ static const struct fs_path_config android_device_files[] = { { 00755, AID_BLUETOOTH, AID_BLUETOOTH, (1ULL << CAP_BLOCK_SUSPEND), "system/bin/wcnss_filter" }, { 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "system/bin/pm-service" }, { 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "system/vendor/bin/pm-service" }, + { 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "vendor/bin/pm-service" }, { 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "system/bin/imsdatadaemon" }, { 00755, AID_SYSTEM, AID_RADIO, (1ULL << CAP_NET_BIND_SERVICE), "system/bin/ims_rtp_daemon" }, #ifdef NO_ANDROID_FILESYSTEM_CONFIG_DEVICE_DIRS diff --git a/init.target.rc b/init.target.rc index fd780bde..77367d2a 100755 --- a/init.target.rc +++ b/init.target.rc @@ -113,13 +113,13 @@ on boot setprop wlan.driver.status "ok" #Peripheral manager -service per_mgr /system/bin/pm-service +service per_mgr /system/vendor/bin/pm-service class core user system group system ioprio rt 4 -service per_proxy /system/bin/pm-proxy +service per_proxy /system/vendor/bin/pm-proxy class core user system group system