aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkleidione Freitas <kleidione@gmail.com>2022-07-01 18:08:07 -0300
committerkleidione <kleidione@gmail.com>2022-11-09 17:29:16 -0300
commit6439f6f3f34bf92ff92f0e259d16a7e76e2e9179 (patch)
tree6e28ca81d92024c4404bc77bd5200ec966f5d20d
parent44d5c9e2cf9f1ce0670be5bedd1e415cd5c3e739 (diff)
veux: Import and cleanup rro_overlay from vayu
- Ref: https://github.com/ArrowOS-Devices/android_device_xiaomi_vayu Signed-off-by: kleidione <kleidione@gmail.com>
-rw-r--r--device.mk11
-rw-r--r--rro_overlays/CarrierConfigOverlayVayu/Android.bp22
-rw-r--r--rro_overlays/CarrierConfigOverlayVayu/AndroidManifest.xml21
-rw-r--r--rro_overlays/DialerOverlayVayu/Android.bp22
-rw-r--r--rro_overlays/DialerOverlayVayu/AndroidManifest.xml20
-rw-r--r--rro_overlays/FrameworksResOverlayVayu/Android.bp22
-rw-r--r--rro_overlays/FrameworksResOverlayVayu/AndroidManifest.xml21
-rw-r--r--rro_overlays/SettingsOverlayVayu/Android.bp22
-rw-r--r--rro_overlays/SettingsOverlayVayu/AndroidManifest.xml20
-rw-r--r--rro_overlays/SettingsProviderOverlayVayu/Android.bp22
-rw-r--r--rro_overlays/SettingsProviderOverlayVayu/AndroidManifest.xml20
-rw-r--r--rro_overlays/SystemUIOverlayVayu/Android.bp22
-rw-r--r--rro_overlays/SystemUIOverlayVayu/AndroidManifest.xml20
-rw-r--r--rro_overlays/TelephonyOverlayVayu/Android.bp22
-rw-r--r--rro_overlays/TelephonyOverlayVayu/AndroidManifest.xml20
-rw-r--r--rro_overlays/WifiOverlayVayu/Android.bp6
-rw-r--r--rro_overlays/WifiOverlayVayu/AndroidManifest.xml25
17 files changed, 338 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.carrierconfig.overlay.vayu">
+
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="com.android.carrierconfig"
+ android:isStatic="true"
+ android:priority="1"/>
+</manifest>
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.dialer.overlay.vayu">
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="com.android.dialer"
+ android:isStatic="true"
+ android:priority="1"/>
+</manifest>
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.frameworksres.overlay.vayu">
+
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="android"
+ android:isStatic="true"
+ android:priority="1"/>
+</manifest>
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.settings.overlay.vayu">
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="com.android.settings"
+ android:isStatic="true"
+ android:priority="1"/>
+</manifest>
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.settingsprovider.overlay.vayu">
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="com.android.providers.settings"
+ android:isStatic="true"
+ android:priority="1"/>
+</manifest>
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.systemui.overlay.vayu">
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="com.android.systemui"
+ android:isStatic="true"
+ android:priority="1"/>
+</manifest>
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.telephony.overlay.vayu">
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="com.android.phone"
+ android:isStatic="true"
+ android:priority="1"/>
+</manifest>
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2019 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.
+-->
+<!-- Pixel specific wifi overlays -->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ coreApp="true"
+ package="com.android.wifi.resources.vayu"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="com.android.wifi.resources"
+ android:targetName="WifiCustomization"
+ android:isStatic="true"
+ android:priority="0"/>
+</manifest>