diff options
| author | 2018-04-02 21:21:31 -0700 | |
|---|---|---|
| committer | 2018-04-02 21:21:31 -0700 | |
| commit | 2fb025d0071d53a6030dacbff21d0da057244ec1 (patch) | |
| tree | 9cb58f5d2668aa4a13d672e5c490155eb14d3d3b | |
| parent | 1a1b0608ca29192472425b99772278a742409aa1 (diff) | |
| parent | 4df40c827ebb2ab502a2233c72781872e0ab1cb1 (diff) | |
Merge "Disabling print dumping for now." into pi-dev
am: 4df40c827e
Change-Id: I8c44090b1f84a45d8a1a0e8a952cc540d54eacfb
| -rw-r--r-- | core/proto/android/os/incident.proto | 2 | ||||
| -rw-r--r-- | core/proto/android/service/print.proto | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/core/proto/android/os/incident.proto b/core/proto/android/os/incident.proto index ea0b825b01a8..6467976bbf59 100644 --- a/core/proto/android/os/incident.proto +++ b/core/proto/android/os/incident.proto @@ -228,7 +228,7 @@ message IncidentProto { ]; optional android.service.print.PrintServiceDumpProto print = 3010 [ - (section).type = SECTION_DUMPSYS, + (section).type = SECTION_NONE, // Turn off until we get approval for it. (section).args = "print --proto" ]; diff --git a/core/proto/android/service/print.proto b/core/proto/android/service/print.proto index f783b866c0ac..994814b6053b 100644 --- a/core/proto/android/service/print.proto +++ b/core/proto/android/service/print.proto @@ -75,7 +75,7 @@ message PrintSpoolerInternalStateProto { repeated PrintJobInfoProto print_jobs = 1; // Files used by these print jobs - repeated string print_job_files = 2; + repeated string print_job_files = 2 [ (android.privacy).dest = DEST_EXPLICIT ]; // Approved print services repeated android.content.ComponentNameProto approved_services = 3; @@ -101,7 +101,7 @@ message PrinterCapabilitiesProto { } message PrinterInfoProto { - option (android.msg_privacy).dest = DEST_AUTOMATIC; + option (android.msg_privacy).dest = DEST_EXPLICIT; // The id of the printer optional PrinterIdProto id = 1; @@ -123,7 +123,7 @@ message PrinterInfoProto { STATUS_UNAVAILABLE = 3; } // The status of the printer - optional Status status = 3; + optional Status status = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; // The description of the printer optional string description = 4; @@ -171,13 +171,13 @@ message InstalledPrintServiceProto { } message PrinterIdProto { - option (android.msg_privacy).dest = DEST_AUTOMATIC; + option (android.msg_privacy).dest = DEST_EXPLICIT; // Component name of the service that reported the printer - optional android.content.ComponentNameProto service_name = 1; + optional android.content.ComponentNameProto service_name = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; // Local id of the printer - optional string local_id = 2 [ (android.privacy).dest = DEST_EXPLICIT ]; + optional string local_id = 2; } message ActivePrintServiceProto { @@ -331,7 +331,7 @@ message PrintJobInfoProto { optional string label = 1 [ (android.privacy).dest = DEST_EXPLICIT ]; // Id of the job - optional string print_job_id = 2; + optional string print_job_id = 2 [ (android.privacy).dest = DEST_EXPLICIT ]; enum State { // Unknown state @@ -366,7 +366,7 @@ message PrintJobInfoProto { optional PrinterIdProto printer = 4; // Tag assigned to the job - optional string tag = 5; + optional string tag = 5 [ (android.privacy).dest = DEST_EXPLICIT ]; // Time the job was created optional int64 creation_time = 6; @@ -401,4 +401,4 @@ message CachedPrintJobProto { // The print job optional PrintJobInfoProto print_job = 2; -}
\ No newline at end of file +} |