diff --git a/universal7885-common/rro_overlays/NotchBarKiller/Android.bp b/universal7885-common/rro_overlays/NotchBarKiller/Android.bp new file mode 100644 index 0000000..3b13c6d --- /dev/null +++ b/universal7885-common/rro_overlays/NotchBarKiller/Android.bp @@ -0,0 +1,19 @@ +// Copyright (C) 2020 Paranoid Android +// +// 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: "NotchBarKiller", + sdk_version: "current", + product_specific: true, +} diff --git a/universal7885-common/rro_overlays/NotchBarKiller/AndroidManifest.xml b/universal7885-common/rro_overlays/NotchBarKiller/AndroidManifest.xml new file mode 100644 index 0000000..65b287c --- /dev/null +++ b/universal7885-common/rro_overlays/NotchBarKiller/AndroidManifest.xml @@ -0,0 +1,26 @@ + + + + + + + diff --git a/universal7885-common/rro_overlays/NotchBarKiller/res/values/config.xml b/universal7885-common/rro_overlays/NotchBarKiller/res/values/config.xml new file mode 100644 index 0000000..9ef55cc --- /dev/null +++ b/universal7885-common/rro_overlays/NotchBarKiller/res/values/config.xml @@ -0,0 +1,31 @@ + + + + + + true + + M 0,0 L 0, 0 C 0,0 0,0 0,0 + @*android:string/config_mainBuiltInDisplayCutout + + + 4 + 5 + + diff --git a/universal7885-common/rro_overlays/NotchBarKiller/res/values/strings.xml b/universal7885-common/rro_overlays/NotchBarKiller/res/values/strings.xml new file mode 100644 index 0000000..e105f42 --- /dev/null +++ b/universal7885-common/rro_overlays/NotchBarKiller/res/values/strings.xml @@ -0,0 +1,3 @@ + + Notch Bar Killer + diff --git a/universal7885-common/universal7885-common.mk b/universal7885-common/universal7885-common.mk index 7d1a350..99507db 100644 --- a/universal7885-common/universal7885-common.mk +++ b/universal7885-common/universal7885-common.mk @@ -247,6 +247,10 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ RemovePkgs +# Notch +PRODUCT_PACKAGES += \ + NotchBarKiller + # RIL PRODUCT_PACKAGES += \ android.hardware.radio@1.2.vendor \