From 6439f6f3f34bf92ff92f0e259d16a7e76e2e9179 Mon Sep 17 00:00:00 2001 From: kleidione Freitas Date: Fri, 1 Jul 2022 18:08:07 -0300 Subject: veux: Import and cleanup rro_overlay from vayu - Ref: https://github.com/ArrowOS-Devices/android_device_xiaomi_vayu Signed-off-by: kleidione --- device.mk | 11 ++++++++++ rro_overlays/CarrierConfigOverlayVayu/Android.bp | 22 +++++++++++++++++++ .../CarrierConfigOverlayVayu/AndroidManifest.xml | 21 ++++++++++++++++++ rro_overlays/DialerOverlayVayu/Android.bp | 22 +++++++++++++++++++ rro_overlays/DialerOverlayVayu/AndroidManifest.xml | 20 +++++++++++++++++ rro_overlays/FrameworksResOverlayVayu/Android.bp | 22 +++++++++++++++++++ .../FrameworksResOverlayVayu/AndroidManifest.xml | 21 ++++++++++++++++++ rro_overlays/SettingsOverlayVayu/Android.bp | 22 +++++++++++++++++++ .../SettingsOverlayVayu/AndroidManifest.xml | 20 +++++++++++++++++ .../SettingsProviderOverlayVayu/Android.bp | 22 +++++++++++++++++++ .../AndroidManifest.xml | 20 +++++++++++++++++ rro_overlays/SystemUIOverlayVayu/Android.bp | 22 +++++++++++++++++++ .../SystemUIOverlayVayu/AndroidManifest.xml | 20 +++++++++++++++++ rro_overlays/TelephonyOverlayVayu/Android.bp | 22 +++++++++++++++++++ .../TelephonyOverlayVayu/AndroidManifest.xml | 20 +++++++++++++++++ rro_overlays/WifiOverlayVayu/Android.bp | 6 ++++++ rro_overlays/WifiOverlayVayu/AndroidManifest.xml | 25 ++++++++++++++++++++++ 17 files changed, 338 insertions(+) create mode 100644 rro_overlays/CarrierConfigOverlayVayu/Android.bp create mode 100644 rro_overlays/CarrierConfigOverlayVayu/AndroidManifest.xml create mode 100644 rro_overlays/DialerOverlayVayu/Android.bp create mode 100644 rro_overlays/DialerOverlayVayu/AndroidManifest.xml create mode 100644 rro_overlays/FrameworksResOverlayVayu/Android.bp create mode 100644 rro_overlays/FrameworksResOverlayVayu/AndroidManifest.xml create mode 100644 rro_overlays/SettingsOverlayVayu/Android.bp create mode 100644 rro_overlays/SettingsOverlayVayu/AndroidManifest.xml create mode 100644 rro_overlays/SettingsProviderOverlayVayu/Android.bp create mode 100644 rro_overlays/SettingsProviderOverlayVayu/AndroidManifest.xml create mode 100644 rro_overlays/SystemUIOverlayVayu/Android.bp create mode 100644 rro_overlays/SystemUIOverlayVayu/AndroidManifest.xml create mode 100644 rro_overlays/TelephonyOverlayVayu/Android.bp create mode 100644 rro_overlays/TelephonyOverlayVayu/AndroidManifest.xml create mode 100644 rro_overlays/WifiOverlayVayu/Android.bp create mode 100644 rro_overlays/WifiOverlayVayu/AndroidManifest.xml diff --git a/device.mk b/device.mk index 4f71ec2..d477ee8 100644 --- a/device.mk +++ b/device.mk @@ -293,6 +293,17 @@ PRODUCT_PACKAGES += \ SecureElement \ Tag +# Overlays +PRODUCT_PACKAGES += \ + CarrierConfigOverlayVayu \ + DialerOverlayVayu \ + FrameworksResOverlayVayu \ + SettingsOverlayVayu \ + SettingsProviderOverlayVayu \ + SystemUIOverlayVayu \ + TelephonyOverlayVayu \ + WifiOverlayVayu + # Partitions PRODUCT_BUILD_SUPER_PARTITION := false PRODUCT_USE_DYNAMIC_PARTITIONS := true diff --git a/rro_overlays/CarrierConfigOverlayVayu/Android.bp b/rro_overlays/CarrierConfigOverlayVayu/Android.bp new file mode 100644 index 0000000..be6d707 --- /dev/null +++ b/rro_overlays/CarrierConfigOverlayVayu/Android.bp @@ -0,0 +1,22 @@ +// +// Copyright (C) 2021 ArrowOS +// +// 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: "CarrierConfigOverlayVayu", + sdk_version: "current", + resource_dirs: ["res"], + vendor: true, +} diff --git a/rro_overlays/CarrierConfigOverlayVayu/AndroidManifest.xml b/rro_overlays/CarrierConfigOverlayVayu/AndroidManifest.xml new file mode 100644 index 0000000..f33a589 --- /dev/null +++ b/rro_overlays/CarrierConfigOverlayVayu/AndroidManifest.xml @@ -0,0 +1,21 @@ + + + + + + + diff --git a/rro_overlays/DialerOverlayVayu/Android.bp b/rro_overlays/DialerOverlayVayu/Android.bp new file mode 100644 index 0000000..5fc3c55 --- /dev/null +++ b/rro_overlays/DialerOverlayVayu/Android.bp @@ -0,0 +1,22 @@ +// +// Copyright (C) 2021 ArrowOS +// +// 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: "DialerOverlayVayu", + sdk_version: "current", + resource_dirs: ["res"], + vendor: true, +} diff --git a/rro_overlays/DialerOverlayVayu/AndroidManifest.xml b/rro_overlays/DialerOverlayVayu/AndroidManifest.xml new file mode 100644 index 0000000..acc3b3f --- /dev/null +++ b/rro_overlays/DialerOverlayVayu/AndroidManifest.xml @@ -0,0 +1,20 @@ + + + + + + diff --git a/rro_overlays/FrameworksResOverlayVayu/Android.bp b/rro_overlays/FrameworksResOverlayVayu/Android.bp new file mode 100644 index 0000000..3b5350d --- /dev/null +++ b/rro_overlays/FrameworksResOverlayVayu/Android.bp @@ -0,0 +1,22 @@ +// +// Copyright (C) 2021 ArrowOS +// +// 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: "FrameworksResOverlayVayu", + sdk_version: "current", + resource_dirs: ["res"], + vendor: true, +} diff --git a/rro_overlays/FrameworksResOverlayVayu/AndroidManifest.xml b/rro_overlays/FrameworksResOverlayVayu/AndroidManifest.xml new file mode 100644 index 0000000..8f3778f --- /dev/null +++ b/rro_overlays/FrameworksResOverlayVayu/AndroidManifest.xml @@ -0,0 +1,21 @@ + + + + + + + diff --git a/rro_overlays/SettingsOverlayVayu/Android.bp b/rro_overlays/SettingsOverlayVayu/Android.bp new file mode 100644 index 0000000..a212358 --- /dev/null +++ b/rro_overlays/SettingsOverlayVayu/Android.bp @@ -0,0 +1,22 @@ +// +// Copyright (C) 2021 ArrowOS +// +// 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: "SettingsOverlayVayu", + sdk_version: "current", + resource_dirs: ["res"], + vendor: true, +} diff --git a/rro_overlays/SettingsOverlayVayu/AndroidManifest.xml b/rro_overlays/SettingsOverlayVayu/AndroidManifest.xml new file mode 100644 index 0000000..936023f --- /dev/null +++ b/rro_overlays/SettingsOverlayVayu/AndroidManifest.xml @@ -0,0 +1,20 @@ + + + + + + diff --git a/rro_overlays/SettingsProviderOverlayVayu/Android.bp b/rro_overlays/SettingsProviderOverlayVayu/Android.bp new file mode 100644 index 0000000..8b9478c --- /dev/null +++ b/rro_overlays/SettingsProviderOverlayVayu/Android.bp @@ -0,0 +1,22 @@ +// +// Copyright (C) 2021 ArrowOS +// +// 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: "SettingsProviderOverlayVayu", + sdk_version: "current", + resource_dirs: ["res"], + vendor: true, +} diff --git a/rro_overlays/SettingsProviderOverlayVayu/AndroidManifest.xml b/rro_overlays/SettingsProviderOverlayVayu/AndroidManifest.xml new file mode 100644 index 0000000..0817a6a --- /dev/null +++ b/rro_overlays/SettingsProviderOverlayVayu/AndroidManifest.xml @@ -0,0 +1,20 @@ + + + + + + diff --git a/rro_overlays/SystemUIOverlayVayu/Android.bp b/rro_overlays/SystemUIOverlayVayu/Android.bp new file mode 100644 index 0000000..6f99bf7 --- /dev/null +++ b/rro_overlays/SystemUIOverlayVayu/Android.bp @@ -0,0 +1,22 @@ +// +// Copyright (C) 2021 ArrowOS +// +// 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: "SystemUIOverlayVayu", + sdk_version: "current", + resource_dirs: ["res"], + vendor: true, +} diff --git a/rro_overlays/SystemUIOverlayVayu/AndroidManifest.xml b/rro_overlays/SystemUIOverlayVayu/AndroidManifest.xml new file mode 100644 index 0000000..f870240 --- /dev/null +++ b/rro_overlays/SystemUIOverlayVayu/AndroidManifest.xml @@ -0,0 +1,20 @@ + + + + + + diff --git a/rro_overlays/TelephonyOverlayVayu/Android.bp b/rro_overlays/TelephonyOverlayVayu/Android.bp new file mode 100644 index 0000000..2cc3d87 --- /dev/null +++ b/rro_overlays/TelephonyOverlayVayu/Android.bp @@ -0,0 +1,22 @@ +// +// Copyright (C) 2021 ArrowOS +// +// 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: "TelephonyOverlayVayu", + sdk_version: "current", + resource_dirs: ["res"], + vendor: true, +} diff --git a/rro_overlays/TelephonyOverlayVayu/AndroidManifest.xml b/rro_overlays/TelephonyOverlayVayu/AndroidManifest.xml new file mode 100644 index 0000000..c6b37a6 --- /dev/null +++ b/rro_overlays/TelephonyOverlayVayu/AndroidManifest.xml @@ -0,0 +1,20 @@ + + + + + + diff --git a/rro_overlays/WifiOverlayVayu/Android.bp b/rro_overlays/WifiOverlayVayu/Android.bp new file mode 100644 index 0000000..f73355e --- /dev/null +++ b/rro_overlays/WifiOverlayVayu/Android.bp @@ -0,0 +1,6 @@ +runtime_resource_overlay { + name: "WifiOverlayVayu", + theme: "WifiOverlay", + sdk_version: "current", + vendor: true +} diff --git a/rro_overlays/WifiOverlayVayu/AndroidManifest.xml b/rro_overlays/WifiOverlayVayu/AndroidManifest.xml new file mode 100644 index 0000000..324718d --- /dev/null +++ b/rro_overlays/WifiOverlayVayu/AndroidManifest.xml @@ -0,0 +1,25 @@ + + + + + + + -- cgit v1.2.3