diff --git a/device.mk b/device.mk index c3d3c37..9791123 100644 --- a/device.mk +++ b/device.mk @@ -7,6 +7,10 @@ # Inherit from the proprietary version $(call inherit-product, vendor/xiaomi/miuicamera-marble/miuicamera-marble-vendor.mk) +# Overlays +PRODUCT_PACKAGES += \ + MiuiCameraOverlay + # Public libraries PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/public.libraries-xiaomi.txt:$(TARGET_COPY_OUT_SYSTEM)/etc/public.libraries-xiaomi.txt diff --git a/overlays/MiuiCameraOverlay/Android.bp b/overlays/MiuiCameraOverlay/Android.bp new file mode 100644 index 0000000..a55f500 --- /dev/null +++ b/overlays/MiuiCameraOverlay/Android.bp @@ -0,0 +1,10 @@ +// +// Copyright (C) 2023 Paranoid Android +// +// SPDX-License-Identifier: Apache-2.0 +// + +runtime_resource_overlay { + name: "MiuiCameraOverlay", + product_specific: true, +} diff --git a/overlays/MiuiCameraOverlay/AndroidManifest.xml b/overlays/MiuiCameraOverlay/AndroidManifest.xml new file mode 100644 index 0000000..a3587cc --- /dev/null +++ b/overlays/MiuiCameraOverlay/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + + + diff --git a/overlays/MiuiCameraOverlay/res/drawable/ic_launcher_camera_cv_background.png b/overlays/MiuiCameraOverlay/res/drawable/ic_launcher_camera_cv_background.png new file mode 100644 index 0000000..f7bf40b Binary files /dev/null and b/overlays/MiuiCameraOverlay/res/drawable/ic_launcher_camera_cv_background.png differ diff --git a/overlays/MiuiCameraOverlay/res/drawable/ic_launcher_camera_cv_foreground.png b/overlays/MiuiCameraOverlay/res/drawable/ic_launcher_camera_cv_foreground.png new file mode 100644 index 0000000..c7a508b Binary files /dev/null and b/overlays/MiuiCameraOverlay/res/drawable/ic_launcher_camera_cv_foreground.png differ diff --git a/overlays/MiuiCameraOverlay/res/drawable/ic_launcher_camera_cv_monochrome.png b/overlays/MiuiCameraOverlay/res/drawable/ic_launcher_camera_cv_monochrome.png new file mode 100644 index 0000000..61e99fb Binary files /dev/null and b/overlays/MiuiCameraOverlay/res/drawable/ic_launcher_camera_cv_monochrome.png differ diff --git a/overlays/MiuiCameraOverlay/res/mipmap-xhdpi/ic_launcher_camera_cv.xml b/overlays/MiuiCameraOverlay/res/mipmap-xhdpi/ic_launcher_camera_cv.xml new file mode 100644 index 0000000..8506f64 --- /dev/null +++ b/overlays/MiuiCameraOverlay/res/mipmap-xhdpi/ic_launcher_camera_cv.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/overlays/MiuiCameraOverlay/res/mipmap-xxhdpi/ic_launcher_camera_cv.xml b/overlays/MiuiCameraOverlay/res/mipmap-xxhdpi/ic_launcher_camera_cv.xml new file mode 100644 index 0000000..8506f64 --- /dev/null +++ b/overlays/MiuiCameraOverlay/res/mipmap-xxhdpi/ic_launcher_camera_cv.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/overlays/MiuiCameraOverlay/res/mipmap-xxxhdpi/ic_launcher_camera_cv.xml b/overlays/MiuiCameraOverlay/res/mipmap-xxxhdpi/ic_launcher_camera_cv.xml new file mode 100644 index 0000000..8506f64 --- /dev/null +++ b/overlays/MiuiCameraOverlay/res/mipmap-xxxhdpi/ic_launcher_camera_cv.xml @@ -0,0 +1,7 @@ + + + + + +