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

Commit 61a66fcf authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Drop compatibility with pre 2012 adb clients

am: a50117e5

* commit 'a50117e5':
  Drop compatibility with pre 2012 adb clients

Change-Id: Ifdb0e9f2d869284a20fa5f064260f5a17c2391c2
parents 77798e8b a50117e5
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -1025,15 +1025,6 @@ int main(int argc, char *argv[]) {

    now = time(NULL);

    if (getuid() != 0) {
        // Old versions of the adb client would call the
        // dumpstate command directly. Newer clients
        // call /system/bin/bugreport instead. If we detect
        // we're being called incorrectly, then exec the
        // correct program.
        return execl("/system/bin/bugreport", "/system/bin/bugreport", NULL);
    }

    MYLOGI("begin\n");

    /* gets the sequential id */