From 6382d28bb568e348037d5eadcd09e00c47e546a1 Mon Sep 17 00:00:00 2001 From: ralph950412 Date: Sat, 14 Jun 2025 18:57:32 +0800 Subject: [PATCH] release: Enable SettingsLib flags Change-Id: Ide729f28d84e05063b961c504e52dc2249febe98 --- release/aconfig/bp2a/Android.bp | 2 ++ .../com.android.settingslib.flags/Android.bp | 21 +++++++++++++++++++ ...th_qs_tile_dialog_auto_on_toggle.textproto | 6 ++++++ .../new_status_bar_icons.textproto | 6 ++++++ .../Android.bp | 21 +++++++++++++++++++ .../is_expressive_design_enabled.textproto | 6 ++++++ 6 files changed, 62 insertions(+) create mode 100644 release/aconfig/bp2a/com.android.settingslib.flags/Android.bp create mode 100644 release/aconfig/bp2a/com.android.settingslib.flags/bluetooth_qs_tile_dialog_auto_on_toggle.textproto create mode 100644 release/aconfig/bp2a/com.android.settingslib.flags/new_status_bar_icons.textproto create mode 100644 release/aconfig/bp2a/com.android.settingslib.widget.theme.flags/Android.bp create mode 100644 release/aconfig/bp2a/com.android.settingslib.widget.theme.flags/is_expressive_design_enabled.textproto diff --git a/release/aconfig/bp2a/Android.bp b/release/aconfig/bp2a/Android.bp index 1efae654..de372ba2 100644 --- a/release/aconfig/bp2a/Android.bp +++ b/release/aconfig/bp2a/Android.bp @@ -3,5 +3,7 @@ aconfig_value_set { values: [ "aconfig-values-bp2a-com.android.launcher3-all", "aconfig-values-bp2a-com.android.settings.flags-all", + "aconfig-values-bp2a-com.android.settingslib.flags-all", + "aconfig-values-bp2a-com.android.settingslib.widget.theme.flags-all", ], } diff --git a/release/aconfig/bp2a/com.android.settingslib.flags/Android.bp b/release/aconfig/bp2a/com.android.settingslib.flags/Android.bp new file mode 100644 index 00000000..1a53a8fc --- /dev/null +++ b/release/aconfig/bp2a/com.android.settingslib.flags/Android.bp @@ -0,0 +1,21 @@ +// Copyright 2025 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-bp2a-com.android.settingslib.flags-all", + package: "com.android.settingslib.flags", + srcs: [ + "*.textproto", + ] +} diff --git a/release/aconfig/bp2a/com.android.settingslib.flags/bluetooth_qs_tile_dialog_auto_on_toggle.textproto b/release/aconfig/bp2a/com.android.settingslib.flags/bluetooth_qs_tile_dialog_auto_on_toggle.textproto new file mode 100644 index 00000000..9936c475 --- /dev/null +++ b/release/aconfig/bp2a/com.android.settingslib.flags/bluetooth_qs_tile_dialog_auto_on_toggle.textproto @@ -0,0 +1,6 @@ +flag_value { + package: "com.android.settingslib.flags" + name: "bluetooth_qs_tile_dialog_auto_on_toggle" + state: ENABLED + permission: READ_ONLY +} diff --git a/release/aconfig/bp2a/com.android.settingslib.flags/new_status_bar_icons.textproto b/release/aconfig/bp2a/com.android.settingslib.flags/new_status_bar_icons.textproto new file mode 100644 index 00000000..17d189f0 --- /dev/null +++ b/release/aconfig/bp2a/com.android.settingslib.flags/new_status_bar_icons.textproto @@ -0,0 +1,6 @@ +flag_value { + package: "com.android.settingslib.flags" + name: "new_status_bar_icons" + state: ENABLED + permission: READ_ONLY +} diff --git a/release/aconfig/bp2a/com.android.settingslib.widget.theme.flags/Android.bp b/release/aconfig/bp2a/com.android.settingslib.widget.theme.flags/Android.bp new file mode 100644 index 00000000..2275a9fe --- /dev/null +++ b/release/aconfig/bp2a/com.android.settingslib.widget.theme.flags/Android.bp @@ -0,0 +1,21 @@ +// Copyright 2025 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-bp2a-com.android.settingslib.widget.theme.flags-all", + package: "com.android.settingslib.widget.theme.flags", + srcs: [ + "*.textproto", + ] +} diff --git a/release/aconfig/bp2a/com.android.settingslib.widget.theme.flags/is_expressive_design_enabled.textproto b/release/aconfig/bp2a/com.android.settingslib.widget.theme.flags/is_expressive_design_enabled.textproto new file mode 100644 index 00000000..4ef01695 --- /dev/null +++ b/release/aconfig/bp2a/com.android.settingslib.widget.theme.flags/is_expressive_design_enabled.textproto @@ -0,0 +1,6 @@ +flag_value { + package: "com.android.settingslib.widget.theme.flags" + name: "is_expressive_design_enabled" + state: ENABLED + permission: READ_ONLY +}