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

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

Drop compatibility with pre 2012 adb clients am: a50117e5

am: 61a66fcf

* commit '61a66fcf':
  Drop compatibility with pre 2012 adb clients

Change-Id: I4ef78f17f6bce49c793b1d2eab45adb5de78b144
parents 5a37a745 61a66fcf
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 */