diff options
author | Dennis Song <denniscy@google.com> | 2022-10-21 08:10:52 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-10-21 08:10:52 +0000 |
commit | 74fbd4e08a238172aa099c9e611217313fc1e507 (patch) | |
tree | 6290779766a387941b357cc5ac45b35f1880b369 | |
parent | e1402c390d1079be72ff81060f4a82d153c55ea6 (diff) | |
parent | 4466e6ec32d4f9c43ea762ab2086aaba8c8a2037 (diff) | |
download | common-74fbd4e08a238172aa099c9e611217313fc1e507.tar.gz |
Merge "Add GSI specific SystemUI overlay" am: 4466e6ec32
Original change: https://android-review.googlesource.com/c/device/generic/common/+/2256848
Change-Id: I34c50d2cbe1399fd04847c1f3d83b14381db57a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | overlays/SystemUI/Android.bp | 20 | ||||
-rw-r--r-- | overlays/SystemUI/AndroidManifest.xml | 26 | ||||
-rw-r--r-- | overlays/SystemUI/res/values/config.xml | 20 | ||||
-rw-r--r-- | overlays/overlay-config.xml | 22 |
4 files changed, 88 insertions, 0 deletions
diff --git a/overlays/SystemUI/Android.bp b/overlays/SystemUI/Android.bp new file mode 100644 index 0000000..f92a804 --- /dev/null +++ b/overlays/SystemUI/Android.bp @@ -0,0 +1,20 @@ +// +// Copyright 2022 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. +// + +runtime_resource_overlay { + name: "gsi_overlay_systemui", + system_ext_specific: true, +} diff --git a/overlays/SystemUI/AndroidManifest.xml b/overlays/SystemUI/AndroidManifest.xml new file mode 100644 index 0000000..d76b302 --- /dev/null +++ b/overlays/SystemUI/AndroidManifest.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + * Copyright (C) 2022 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. + --> + +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.android.systemui.gsi.overlay"> + + <application android:hasCode="false" /> + + <overlay + android:targetPackage="com.android.systemui" + /> +</manifest> diff --git a/overlays/SystemUI/res/values/config.xml b/overlays/SystemUI/res/values/config.xml new file mode 100644 index 0000000..87bf621 --- /dev/null +++ b/overlays/SystemUI/res/values/config.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + * Copyright (C) 2022 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. +--> + +<resources> + <dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen> +</resources> diff --git a/overlays/overlay-config.xml b/overlays/overlay-config.xml new file mode 100644 index 0000000..8ef8a81 --- /dev/null +++ b/overlays/overlay-config.xml @@ -0,0 +1,22 @@ +<!-- + * Copyright (C) 2022 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. + --> + +<config> + <!-- Immutable overlays must precede mutable ones --> + <overlay package="com.android.systemui.gsi.overlay" mutable="false" enabled="true" /> + + <!-- Mutable overlays --> +</config> |