Merge "Marking ClipData as LOCAL and adding comment in jobscheduler proto." into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-27 23:17:31 +00:00
committed by Android (Google) Code Review
2 changed files with 8 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ import "frameworks/base/libs/incident/proto/android/privacy.proto";
// An android.content.ClipData object.
message ClipDataProto {
option (.android.msg_privacy).dest = DEST_AUTOMATIC;
option (.android.msg_privacy).dest = DEST_LOCAL;
optional android.content.ClipDescriptionProto description = 1;
@@ -40,7 +40,7 @@ message ClipDataProto {
// An android.content.ClipData.Item object.
message Item {
option (.android.msg_privacy).dest = DEST_EXPLICIT;
option (.android.msg_privacy).dest = DEST_LOCAL;
oneof data {
string html_text = 1;

View File

@@ -578,6 +578,12 @@ message JobStatusDumpProto {
optional .android.os.PersistableBundleProto extras = 14;
optional .android.os.BundleProto transient_extras = 15;
// ClipData of information that is returned to the application at
// execution time, but not persisted by the system. This is provided by
// the app and the main purpose of providing a ClipData is to allow
// granting of URI permissions for data associated with the clip. The
// exact kind of permission grant to perform is specified in the flags
// field.
optional .android.content.ClipDataProto clip_data = 16;
optional GrantedUriPermissionsDumpProto granted_uri_permissions = 17;