summaryrefslogtreecommitdiff
path: root/runtime/exec_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/exec_utils.h')
-rw-r--r--runtime/exec_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/exec_utils.h b/runtime/exec_utils.h
index c280e3e26f..11ab579b09 100644
--- a/runtime/exec_utils.h
+++ b/runtime/exec_utils.h
@@ -44,6 +44,8 @@ struct ExecCallbacks {
};
struct ExecResult {
+ // This struct needs to be in sync with the ExecResultStatus enum contained within
+ // the OdrefreshReported atom in frameworks/proto_logging/atoms.proto.
enum Status {
// Unable to get the status.
kUnknown = 0,
@@ -55,6 +57,7 @@ struct ExecResult {
kTimedOut = 3,
// Failed to start the process.
kStartFailed = 4,
+ kLast = kStartFailed
};
Status status = kUnknown;