Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8eef0a5d authored by Michael Wright's avatar Michael Wright Committed by android-build-merger
Browse files

Merge "Revert "Only allow system to write to existing input nodes.""

am: 05009d93

Change-Id: I74bc2d510ab4f978df3e90402b59681f8cbe7be2
parents 2a03cd71 05009d93
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ subsystem adf
/dev/tty0                 0660   root       system
/dev/graphics/*           0660   root       graphics
/dev/msm_hw3dm            0660   system     graphics
/dev/input/*              0640   system     input
/dev/input/*              0660   root       input
/dev/eac                  0660   root       audio
/dev/cam                  0660   root       camera
/dev/pmem                 0660   system     graphics
+1 −1
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@ static int open_device(const char *device, int print_flags)
    char idstr[80];
    struct input_id id;

    fd = open(device, O_RDONLY);
    fd = open(device, O_RDWR);
    if(fd < 0) {
        if(print_flags & PRINT_DEVICE_ERRORS)
            fprintf(stderr, "could not open %s, %s\n", device, strerror(errno));