From b35c36c878a3cfda88e9cf9dec09926d276e9ec7 Mon Sep 17 00:00:00 2001 From: minaripenguin Date: Fri, 25 Jul 2025 15:30:09 +0000 Subject: [PATCH] aconfig: Disable FRP enforcement Change-Id: I77f990d2187b4afa3d106a79361a8dc340d09065 --- release/aconfig/bp2a/Android.bp | 3 ++- .../aconfig/bp2a/android.security/Android.bp | 21 +++++++++++++++++++ .../frp_enforcement_flag_values.textproto | 6 ++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 release/aconfig/bp2a/android.security/Android.bp create mode 100644 release/aconfig/bp2a/android.security/frp_enforcement_flag_values.textproto diff --git a/release/aconfig/bp2a/Android.bp b/release/aconfig/bp2a/Android.bp index 92ac419d..d5f37244 100644 --- a/release/aconfig/bp2a/Android.bp +++ b/release/aconfig/bp2a/Android.bp @@ -16,7 +16,7 @@ aconfig_value_set { name: "aconfig_value_set-lineage-bp2a", values: [ - "aconfig-values-bp2a-android.app-all", + "aconfig-values-bp2a-android.app-all", "aconfig-values-bp2a-android.media.codec-all", "aconfig-values-bp2a-com.android.launcher3-all", "aconfig-values-bp2a-com.android.settings.flags-all", @@ -25,5 +25,6 @@ aconfig_value_set { "aconfig-values-bp2a-com.android.systemui-all", "aconfig-values-bp2a-com.android.systemui.shared-all", "aconfig-values-bp2a-com.android.wallpaper-all", + "aconfig-values-bp2a-android.security-all" ], } diff --git a/release/aconfig/bp2a/android.security/Android.bp b/release/aconfig/bp2a/android.security/Android.bp new file mode 100644 index 00000000..d1dcb509 --- /dev/null +++ b/release/aconfig/bp2a/android.security/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-android.security-all", + package: "android.security", + srcs: [ + "*_flag_values.textproto", + ] +} \ No newline at end of file diff --git a/release/aconfig/bp2a/android.security/frp_enforcement_flag_values.textproto b/release/aconfig/bp2a/android.security/frp_enforcement_flag_values.textproto new file mode 100644 index 00000000..361f2ac8 --- /dev/null +++ b/release/aconfig/bp2a/android.security/frp_enforcement_flag_values.textproto @@ -0,0 +1,6 @@ +flag_value { + package: "android.security" + name: "frp_enforcement" + state: DISABLED + permission: READ_ONLY +} \ No newline at end of file