summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikhil Kumar <nykkumar@google.com>2023-06-16 17:20:11 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2023-06-16 17:20:11 +0000
commit9072109773b62cdb89613d78534252164dfe760f (patch)
treea4aba2290d8a52de586db95596d397650959a682
parent9971bae91d9095dc47bc1c6075e623497b7bff99 (diff)
parentb70622a45d17f6bfe7357bebfc59a5871fba5b9e (diff)
downloadnative-9072109773b62cdb89613d78534252164dfe760f.tar.gz
Merge "Use unsigned calling_uid in case of bug report triggered from adb" into udc-dev
-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;
}