Loading init/devices.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -531,7 +531,7 @@ void DeviceHandler::HandleAshmemUevent(const Uevent& uevent) { if (!ReadFileToString(boot_id_path, &boot_id)) { PLOG(ERROR) << "Cannot duplicate ashmem device node. Failed to read " << boot_id_path; return; }; } boot_id = Trim(boot_id); Uevent dup_ashmem_uevent = uevent; Loading @@ -542,8 +542,8 @@ void DeviceHandler::HandleAshmemUevent(const Uevent& uevent) { } void DeviceHandler::HandleUevent(const Uevent& uevent) { if (uevent.action == "add" || uevent.action == "change" || uevent.action == "bind" || uevent.action == "online") { if (uevent.action == "add" || uevent.action == "change" || uevent.action == "bind" || uevent.action == "online") { FixupSysPermissions(uevent.path, uevent.subsystem); } Loading Loading
init/devices.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -531,7 +531,7 @@ void DeviceHandler::HandleAshmemUevent(const Uevent& uevent) { if (!ReadFileToString(boot_id_path, &boot_id)) { PLOG(ERROR) << "Cannot duplicate ashmem device node. Failed to read " << boot_id_path; return; }; } boot_id = Trim(boot_id); Uevent dup_ashmem_uevent = uevent; Loading @@ -542,8 +542,8 @@ void DeviceHandler::HandleAshmemUevent(const Uevent& uevent) { } void DeviceHandler::HandleUevent(const Uevent& uevent) { if (uevent.action == "add" || uevent.action == "change" || uevent.action == "bind" || uevent.action == "online") { if (uevent.action == "add" || uevent.action == "change" || uevent.action == "bind" || uevent.action == "online") { FixupSysPermissions(uevent.path, uevent.subsystem); } Loading