From e84e4c62ab4ea5910f9b6152e2e4611e99451e07 Mon Sep 17 00:00:00 2001 From: Arian Date: Fri, 6 Sep 2024 12:02:15 +0200 Subject: [PATCH] aconfig: Enable polite notifications Change-Id: Id82a89149b5c3bc6c11dfbec383cb90629e8fd4f --- release/aconfig/ap3a/Android.bp | 1 + .../Android.bp | 21 +++++++++++++++++++ .../all_notifs_need_ttl_flag_values.textproto | 6 ++++++ ...polite_notifications_flag_values.textproto | 6 ++++++ ...hide_unused_channels_flag_values.textproto | 6 ++++++ ...ications_attn_update_flag_values.textproto | 6 ++++++ ...polite_notifications_flag_values.textproto | 6 ++++++ ...ct_old_notifications_flag_values.textproto | 6 ++++++ 8 files changed, 58 insertions(+) create mode 100644 release/aconfig/ap3a/com.android.server.notification/Android.bp create mode 100644 release/aconfig/ap3a/com.android.server.notification/all_notifs_need_ttl_flag_values.textproto create mode 100644 release/aconfig/ap3a/com.android.server.notification/cross_app_polite_notifications_flag_values.textproto create mode 100644 release/aconfig/ap3a/com.android.server.notification/notification_hide_unused_channels_flag_values.textproto create mode 100644 release/aconfig/ap3a/com.android.server.notification/polite_notifications_attn_update_flag_values.textproto create mode 100644 release/aconfig/ap3a/com.android.server.notification/polite_notifications_flag_values.textproto create mode 100644 release/aconfig/ap3a/com.android.server.notification/reject_old_notifications_flag_values.textproto diff --git a/release/aconfig/ap3a/Android.bp b/release/aconfig/ap3a/Android.bp index 1e51d603..af0e71c5 100644 --- a/release/aconfig/ap3a/Android.bp +++ b/release/aconfig/ap3a/Android.bp @@ -16,6 +16,7 @@ aconfig_value_set { name: "aconfig_value_set-lineage-ap3a", values: [ + "aconfig-values-ap3a-com.android.server.notification-all", "aconfig-values-ap3a-com.android.settings.flags-all", ], } diff --git a/release/aconfig/ap3a/com.android.server.notification/Android.bp b/release/aconfig/ap3a/com.android.server.notification/Android.bp new file mode 100644 index 00000000..8b67acec --- /dev/null +++ b/release/aconfig/ap3a/com.android.server.notification/Android.bp @@ -0,0 +1,21 @@ +// Copyright 2024 Google Inc. All rights reserved. +// +// 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. + +aconfig_values { + name: "aconfig-values-ap3a-com.android.server.notification-all", + package: "com.android.server.notification", + srcs: [ + "*_flag_values.textproto", + ] +} diff --git a/release/aconfig/ap3a/com.android.server.notification/all_notifs_need_ttl_flag_values.textproto b/release/aconfig/ap3a/com.android.server.notification/all_notifs_need_ttl_flag_values.textproto new file mode 100644 index 00000000..aa48777c --- /dev/null +++ b/release/aconfig/ap3a/com.android.server.notification/all_notifs_need_ttl_flag_values.textproto @@ -0,0 +1,6 @@ +flag_value { + package: "com.android.server.notification" + name: "all_notifs_need_ttl" + state: ENABLED + permission: READ_WRITE +} diff --git a/release/aconfig/ap3a/com.android.server.notification/cross_app_polite_notifications_flag_values.textproto b/release/aconfig/ap3a/com.android.server.notification/cross_app_polite_notifications_flag_values.textproto new file mode 100644 index 00000000..9527364a --- /dev/null +++ b/release/aconfig/ap3a/com.android.server.notification/cross_app_polite_notifications_flag_values.textproto @@ -0,0 +1,6 @@ +flag_value { + package: "com.android.server.notification" + name: "cross_app_polite_notifications" + state: ENABLED + permission: READ_WRITE +} diff --git a/release/aconfig/ap3a/com.android.server.notification/notification_hide_unused_channels_flag_values.textproto b/release/aconfig/ap3a/com.android.server.notification/notification_hide_unused_channels_flag_values.textproto new file mode 100644 index 00000000..9385ca13 --- /dev/null +++ b/release/aconfig/ap3a/com.android.server.notification/notification_hide_unused_channels_flag_values.textproto @@ -0,0 +1,6 @@ +flag_value { + package: "com.android.server.notification" + name: "notification_hide_unused_channels" + state: ENABLED + permission: READ_WRITE +} diff --git a/release/aconfig/ap3a/com.android.server.notification/polite_notifications_attn_update_flag_values.textproto b/release/aconfig/ap3a/com.android.server.notification/polite_notifications_attn_update_flag_values.textproto new file mode 100644 index 00000000..b3febb00 --- /dev/null +++ b/release/aconfig/ap3a/com.android.server.notification/polite_notifications_attn_update_flag_values.textproto @@ -0,0 +1,6 @@ +flag_value { + package: "com.android.server.notification" + name: "polite_notifications_attn_update" + state: ENABLED + permission: READ_WRITE +} diff --git a/release/aconfig/ap3a/com.android.server.notification/polite_notifications_flag_values.textproto b/release/aconfig/ap3a/com.android.server.notification/polite_notifications_flag_values.textproto new file mode 100644 index 00000000..2b12ccb8 --- /dev/null +++ b/release/aconfig/ap3a/com.android.server.notification/polite_notifications_flag_values.textproto @@ -0,0 +1,6 @@ +flag_value { + package: "com.android.server.notification" + name: "polite_notifications" + state: ENABLED + permission: READ_WRITE +} diff --git a/release/aconfig/ap3a/com.android.server.notification/reject_old_notifications_flag_values.textproto b/release/aconfig/ap3a/com.android.server.notification/reject_old_notifications_flag_values.textproto new file mode 100644 index 00000000..e46725cd --- /dev/null +++ b/release/aconfig/ap3a/com.android.server.notification/reject_old_notifications_flag_values.textproto @@ -0,0 +1,6 @@ +flag_value { + package: "com.android.server.notification" + name: "reject_old_notifications" + state: ENABLED + permission: READ_WRITE +}