Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06121586 authored by danielml's avatar danielml Committed by Bruno Martins
Browse files

lineage: Add aconfig flags extension for AP1A



Our ap1a.scl extends build/release's ap1a.scl to include our aconfig
value set.

Change-Id: I76c4eceaa1d37f479bd53922766175832d3abb5f
Signed-off-by: default avatardanielml <daniel@danielml.dev>
parent 3db0f472
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
//
// Copyright (C) 2024 The LineageOS 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.

aconfig_value_set {
    name: "aconfig_value_set-lineage-ap1a",
    values: [
        "aconfig-values-ap1a-com.android.settingslib.media.flags-all",
    ],
}
+22 −0
Original line number Diff line number Diff line
//
// 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-ap1a-com.android.settingslib.media.flags-all",
    package: "com.android.settingslib.media.flags",
    srcs: [
        "*_flag_values.textproto",
    ],
}
+6 −0
Original line number Diff line number Diff line
flag_value {
  package: "com.android.settingslib.media.flags"
  name: "use_media_router2_for_info_media_manager"
  state: ENABLED
  permission: READ_WRITE
}
+23 −0
Original line number Diff line number Diff line
#
# Copyright (C) 2024 The LineageOS 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.


load("//build/make/core/release_config.scl", "value")

values = [
    # keep-sorted start numeric=yes
    value("RELEASE_ACONFIG_VALUE_SETS", "aconfig_value_set-lineage-ap1a"),
    # keep-sorted end
]
+22 −0
Original line number Diff line number Diff line
#
# Copyright (C) 2024 The LineageOS 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.

# Get the directory for this file, and use that instead of a fixed path.
local_dir := $(dir $(lastword $(MAKEFILE_LIST)))

# Attach the flag value definitions to the various release configurations.
$(call declare-release-config, ap1a, $(local_dir)build_config/ap1a.scl)

local_dir :=