summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2019-07-29 17:17:05 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2019-07-29 17:17:05 +0000
commitcf81af96b0ae70fee40fdfa4ef97c77ebb9100da (patch)
tree8f6bf2f3f6d24a629058add46f3e74d9102be4fd
parent5fa93fffe44167a668b30b8930aa7bf19be2ded4 (diff)
parentaac6f58434e0e165dc3eaad8e76bfe681aeddc39 (diff)
Merge "Delete local bugreport when consent is denied"
-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 ae08f95cbb..bdb13634f2 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -2571,7 +2571,7 @@ Dumpstate::RunStatus Dumpstate::RunInternal(int32_t calling_uid,
// Dump state for the default case. This also drops root.
RunStatus s = DumpstateDefault();
if (s != RunStatus::OK) {
- if (s == RunStatus::USER_CONSENT_TIMED_OUT) {
+ if (s == RunStatus::USER_CONSENT_DENIED) {
HandleUserConsentDenied();
}
return s;