Add "am capabilities" for tools probling
There is no way to know which command/flags are supported in am.
This CL adds a "capability" command which allows to probe
programatically.
Test: NA
Bug: 265460189
Change-Id: If50269251a6907968e7c8afe10bf873f25338b91
diff --git a/proto/src/am_capabilities.proto b/proto/src/am_capabilities.proto
new file mode 100644
index 0000000..d97bf81
--- /dev/null
+++ b/proto/src/am_capabilities.proto
@@ -0,0 +1,12 @@
+syntax = "proto3";
+
+package com.android.server.am;
+option java_multiple_files = true;
+
+message Capability {
+ string name = 1;
+}
+
+message Capabilities {
+ repeated Capability values = 1;
+}