Add 'vendor.' prefix to a vendor daemon name

To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.

Test: succeeded building and tested on a walleye device
Bug: 36796459
Change-Id: I519603b13978567b51dbb2bcb866aa088a1646e4
This commit is contained in:
Jaekyun Seok
2017-09-14 16:07:36 +09:00
parent e7892171f7
commit 491d56144b
5 changed files with 79 additions and 79 deletions

View File

@@ -45,7 +45,7 @@ Return<void> VrDevice::setVrMode(bool enabled) {
return Void();
}
}
if (!android::base::SetProperty("ctl.restart", "thermal-engine")) {
if (!android::base::SetProperty("ctl.restart", "vendor.thermal-engine")) {
LOG(ERROR) << "Couldn't set thermal_engine restart property";
}
if (!access("/sys/devices/virtual/input/ftm4_touch/vrmode", W_OK)) {