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

Commit 43fd1bbc authored by Felipe Leme's avatar Felipe Leme
Browse files

Proper fix of am args.

BUG: 26871362
Change-Id: If3411b69ea1feef827cd23ef81baa8c0ffeaa309
parent b0b4aa2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1118,7 +1118,7 @@ int main(int argc, char *argv[]) {
        if (!path.empty()) {
            ALOGI("Final bugreport path: %s\n", path.c_str());
            std::vector<std::string> am_args = {
                 "android.permission.DUMP", "--receiver-foreground",
                 "--receiver-permission", "android.permission.DUMP", "--receiver-foreground",
                 "--ei", "android.intent.extra.PID", std::to_string(getpid()),
                 "--es", "android.intent.extra.BUGREPORT", path
            };