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

Commit 78bc118b authored by Dave Mankoff's avatar Dave Mankoff
Browse files

New "shared" systemui aconfig library.

Defined com.android.systemui.shared.Flags for flags that need to be
read outside of the systemui.apk process.

Bug: 308482106
Test: Added to SystemUI-core build target and built
Change-Id: I46ebebac37092c3aecd8d32253c3b7ed9587d5f0
parent 3d84fbc5
Loading
Loading
Loading
Loading

aconfig/Android.bp

0 → 100644
+39 −0
Original line number Diff line number Diff line
//
// Copyright (C) 2023 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.
//

/*****
 * These flags are meant for SystemUI-owned flags that can be read by non-systemui
 * processes.
 */

package {
    default_visibility: [
        "//visibility:public",
    ]
}

aconfig_declarations {
    name: "com_android_systemui_shared_flags",
    package: "com.android.systemui.shared",
    srcs: [
        "*.aconfig",
    ],
}

java_aconfig_library {
    name: "com_android_systemui_shared_flags_lib",
    aconfig_declarations: "com_android_systemui_shared_flags",
}
+8 −0
Original line number Diff line number Diff line
package: "com.android.systemui.shared"

flag {
    name: "example_shared_flag"
    namespace: "systemui"
    description: "An Example Flag"
    bug: "308482106"
}
 No newline at end of file