diff options
author | Dave Mankoff <mankoff@google.com> | 2023-11-02 21:42:52 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2023-11-02 21:42:52 +0000 |
commit | 1865f112029c8834d67730da0e1e6e076b18d06e (patch) | |
tree | b56eb873a7cc83c6dcf32a3683a690cef1e8532c | |
parent | c7ae1c2a0f563f5c39c5696f9886374a42320d3d (diff) | |
parent | 78bc118ba7d4a96e1597a4e872f7e4345120f41e (diff) | |
download | systemui-1865f112029c8834d67730da0e1e6e076b18d06e.tar.gz |
Merge "New "shared" systemui aconfig library." into main
-rw-r--r-- | aconfig/Android.bp | 39 | ||||
-rw-r--r-- | aconfig/systemui.aconfig | 8 |
2 files changed, 47 insertions, 0 deletions
diff --git a/aconfig/Android.bp b/aconfig/Android.bp new file mode 100644 index 0000000..6c62e87 --- /dev/null +++ b/aconfig/Android.bp @@ -0,0 +1,39 @@ +// +// 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", +} diff --git a/aconfig/systemui.aconfig b/aconfig/systemui.aconfig new file mode 100644 index 0000000..20600e4 --- /dev/null +++ b/aconfig/systemui.aconfig @@ -0,0 +1,8 @@ +package: "com.android.systemui.shared" + +flag { + name: "example_shared_flag" + namespace: "systemui" + description: "An Example Flag" + bug: "308482106" +}
\ No newline at end of file |