Nick Chalko | c513070 | 2024-11-14 12:54:14 -0800 | [diff] [blame] | 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 | |
| 15 | syntax = "proto2"; |
| 16 | |
| 17 | package com.android.build.backportedfixes; |
| 18 | |
| 19 | option java_multiple_files = true; |
| 20 | |
| 21 | // A list of backported fixes. |
| 22 | message BackportedFixes { |
| 23 | repeated BackportedFix fixes = 1; |
| 24 | } |
| 25 | |
| 26 | // A known issue approved for reporting Build.getBackportedFixStatus |
| 27 | message 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 | |