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

Commit 67ac00f7 authored by Greg Hartman's avatar Greg Hartman Committed by Jorge Moreira Broche
Browse files

Report binder versions on failure

BUG: 34053032
Test: foo
Change-Id: Ida43d037cc6cf70cd5f0e9f678db70d624c99285
parent bd90cda4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -319,7 +319,8 @@ static int open_driver()
            fd = -1;
        }
        if (result != 0 || vers != BINDER_CURRENT_PROTOCOL_VERSION) {
            ALOGE("Binder driver protocol does not match user space protocol!");
          ALOGE("Binder driver protocol(%d) does not match user space protocol(%d)! ioctl() return value: %d",
                vers, BINDER_CURRENT_PROTOCOL_VERSION, result);
            close(fd);
            fd = -1;
        }