blob: c064bb124eb8fdd9e1d173864eb64d93e08f8574 [file] [log] [blame]
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";
option java_multiple_files = true;
package android.app;
import "frameworks/base/core/proto/android/app/notification_channel.proto";
import "frameworks/base/core/proto/android/privacy.proto";
/**
* An android.app.NotificationChannelGroup object.
*/
message NotificationChannelGroupProto {
option (.android.msg_privacy).dest = DEST_EXPLICIT;
// Notification Channel Group ID. Provided by the app.
optional string id = 1;
// User-visible Notification Channel Group name.
optional string name = 2;
// User-visible Notification Channel Group description.
optional string description = 3;
optional bool is_blocked = 4;
repeated NotificationChannelProto channels = 5;
// Default is true.
// Allows the notifications to appear outside of the shade in floating windows
optional bool allow_app_overlay = 6;
}