We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 77692ae + e609478 commit bca7bfcCopy full SHA for bca7bfc
init/devices.cpp
@@ -461,9 +461,10 @@ void DeviceHandler::HandleAshmemUevent(const Uevent& uevent) {
461
}
462
463
void DeviceHandler::HandleUevent(const Uevent& uevent) {
464
- if (uevent.action == "add" || uevent.action == "change" || uevent.action == "online") {
465
- FixupSysPermissions(uevent.path, uevent.subsystem);
466
- }
+ if (uevent.action == "add" || uevent.action == "change" ||
+ uevent.action == "bind" || uevent.action == "online") {
+ FixupSysPermissions(uevent.path, uevent.subsystem);
467
+ }
468
469
// if it's not a /dev device, nothing to do
470
if (uevent.major < 0 || uevent.minor < 0) return;
0 commit comments