blob: 7b270d74f2dee1f273e495856f130f64210902e7 [file] [log] [blame]
Kweku Adams62b42242017-09-25 12:54:02 -07001/*
2 * Copyright (C) 2017 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Yi Jinc7f93072017-09-29 15:29:38 -070017syntax = "proto2";
Kweku Adams62b42242017-09-25 12:54:02 -070018option java_package = "android.app";
19option java_multiple_files = true;
20
21package android.app;
22
23import "frameworks/base/core/proto/android/app/notification_channel.proto";
Kweku Adams99546332018-01-24 17:03:50 -080024import "frameworks/base/libs/incident/proto/android/privacy.proto";
Kweku Adams62b42242017-09-25 12:54:02 -070025
26/**
27 * An android.app.NotificationChannelGroup object.
28 */
29message NotificationChannelGroupProto {
Kweku Adams99546332018-01-24 17:03:50 -080030 option (.android.msg_privacy).dest = DEST_EXPLICIT;
31
Yi Jinc7f93072017-09-29 15:29:38 -070032 optional string id = 1;
33 optional string name = 2;
34 optional string description = 3;
35 optional bool is_blocked = 4;
Kweku Adams62b42242017-09-25 12:54:02 -070036 repeated android.app.NotificationChannelProto channels = 5;
37}