summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nikhil Kumar <nykkumar@google.com> 2023-06-16 18:45:02 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-06-16 18:45:02 +0000
commit70bad4fd93bcb13a55a9bc075531bfcb7964c3c3 (patch)
tree63a46d07866bc729cc9ed4873a08289d10ccc609
parent4bac5acd08ec6a11ba058ed234a4db89fd420464 (diff)
parent723c236553c20ecf55df945d7a8305797fcb4258 (diff)
Merge "Use unsigned calling_uid in case of bug report triggered from adb" into udc-dev am: 9072109773 am: 723c236553
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23710687 Change-Id: I832de28cf2d7ffe4c79de91a7e68906c87bfd699 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--cmds/dumpstate/dumpstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 5dbf7ac715..8a337569c4 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -3586,7 +3586,7 @@ Dumpstate::RunStatus Dumpstate::ParseCommandlineAndRun(int argc, char* argv[]) {
// an app; they are irrelevant here because bugreport is triggered via command line.
// Update Last ID before calling Run().
Initialize();
- status = Run(-1 /* calling_uid */, "" /* calling_package */);
+ status = Run(0 /* calling_uid */, "" /* calling_package */);
}
return status;
}