Merge "Add atom for logging of ReviewPermissionsFragment actions." into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
15ae30124d
@@ -303,6 +303,8 @@ message Atom {
|
|||||||
ContentCaptureSessionEvents content_capture_session_events = 208;
|
ContentCaptureSessionEvents content_capture_session_events = 208;
|
||||||
ContentCaptureFlushed content_capture_flushed = 209;
|
ContentCaptureFlushed content_capture_flushed = 209;
|
||||||
LocationManagerApiUsageReported location_manager_api_usage_reported = 210;
|
LocationManagerApiUsageReported location_manager_api_usage_reported = 210;
|
||||||
|
ReviewPermissionsFragmentResultReported review_permissions_fragment_result_reported
|
||||||
|
= 211 [(log_from_module) = "permissioncontroller"];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pulled events will start at field 10000.
|
// Pulled events will start at field 10000.
|
||||||
@@ -6544,3 +6546,24 @@ message LocationManagerApiUsageReported {
|
|||||||
// Categorized to 3 types that are interesting from location's perspective.
|
// Categorized to 3 types that are interesting from location's perspective.
|
||||||
optional android.stats.location.ActivityImportance activiy_importance = 12;
|
optional android.stats.location.ActivityImportance activiy_importance = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Information about a permission grant or denial made by user inside ReviewPermissionsFragment
|
||||||
|
*/
|
||||||
|
message ReviewPermissionsFragmentResultReported {
|
||||||
|
// unique value identifying a permission group change. A permission group change might result
|
||||||
|
// in multiple of these atoms
|
||||||
|
optional int64 change_id = 1;
|
||||||
|
|
||||||
|
// UID of package the permission belongs to
|
||||||
|
optional int32 uid = 2 [(is_uid) = true];
|
||||||
|
|
||||||
|
// Name of package the permission belongs to
|
||||||
|
optional string package_name = 3;
|
||||||
|
|
||||||
|
// The permission to be granted
|
||||||
|
optional string permission_name = 4;
|
||||||
|
|
||||||
|
// The result of the permission grant
|
||||||
|
optional bool permission_granted = 5;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user