xref: /aosp_15_r20/cts/backported_fixes/backported_fixes.proto (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright (C) 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto2";
16
17package com.android.cts.backportedfixes;
18
19option java_multiple_files = true;
20
21// A list of backported fixes.
22message BackportedFixes {
23  repeated BackportedFix fixes = 1;
24}
25
26// A known issue approved for reporting Build.getBackportedFixStatus
27message BackportedFix {
28
29  // The issue id from the public bug tracker
30  // https://issuetracker.google.com/issues/{known_issue}
31  optional int64 known_issue = 1;
32  // The alias for the known issue.
33  // 1 - 1023 are valid aliases
34  // Must be unique across all backported fixes.
35  optional int32 alias = 2;
36}
37