sm7250-common: rro_overlays: Add RRO for OnePlusCamera & OnePlusGallery
Signed-off-by: firebird11 <hbgassel@gmail.com> Change-Id: If69bfa3d417207b36bf08a0e87f8ab97916f0fbe Signed-off-by: c79 <vexed@riseup.net> Signed-off-by: aswin7469 <aswinas@pixysos.com> Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
This commit is contained in:
12
common.mk
12
common.mk
@@ -372,6 +372,18 @@ PRODUCT_PACKAGES += \
|
||||
libOmxVenc \
|
||||
libstagefrighthw
|
||||
|
||||
# OnePlus
|
||||
#PRODUCT_PACKAGES += \
|
||||
# oneplus-fwk
|
||||
#
|
||||
#PRODUCT_BOOT_JARS += \
|
||||
# oneplus-fwk
|
||||
|
||||
# OnePlus Apps
|
||||
PRODUCT_PACKAGES += \
|
||||
OnePlusCameraOverlay \
|
||||
OnePlusGalleryOverlay
|
||||
|
||||
# Power
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.power-service-qti \
|
||||
|
||||
6
rro_overlays/OnePlusCameraOverlay/Android.bp
Normal file
6
rro_overlays/OnePlusCameraOverlay/Android.bp
Normal file
@@ -0,0 +1,6 @@
|
||||
runtime_resource_overlay {
|
||||
name: "OnePlusCameraOverlay",
|
||||
certificate: "platform",
|
||||
sdk_version: "current",
|
||||
product_specific: true
|
||||
}
|
||||
8
rro_overlays/OnePlusCameraOverlay/AndroidManifest.xml
Normal file
8
rro_overlays/OnePlusCameraOverlay/AndroidManifest.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.oneplus.camera.overlay"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<overlay android:targetPackage="com.oneplus.camera" android:priority="1" android:isStatic="true" />
|
||||
|
||||
<application android:label="OnePlusCameraOverlay" android:hasCode="false"/>
|
||||
</manifest>
|
||||
5
rro_overlays/OnePlusCameraOverlay/res/values/colors.xml
Normal file
5
rro_overlays/OnePlusCameraOverlay/res/values/colors.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<color name="oneplus_accent_color">@*android:color/accent_device_default</color>
|
||||
<color name="oneplus_accent_text_color">@*android:color/accent_device_default</color>
|
||||
</resources>
|
||||
6
rro_overlays/OnePlusGalleryOverlay/Android.bp
Normal file
6
rro_overlays/OnePlusGalleryOverlay/Android.bp
Normal file
@@ -0,0 +1,6 @@
|
||||
runtime_resource_overlay {
|
||||
name: "OnePlusGalleryOverlay",
|
||||
certificate: "platform",
|
||||
sdk_version: "current",
|
||||
product_specific: true
|
||||
}
|
||||
8
rro_overlays/OnePlusGalleryOverlay/AndroidManifest.xml
Normal file
8
rro_overlays/OnePlusGalleryOverlay/AndroidManifest.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.oneplus.gallery.overlay"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<overlay android:targetPackage="com.oneplus.gallery" android:priority="1" android:isStatic="true" />
|
||||
|
||||
<application android:label="OnePlusGalleryOverlay" android:hasCode="false"/>
|
||||
</manifest>
|
||||
5
rro_overlays/OnePlusGalleryOverlay/res/values/colors.xml
Normal file
5
rro_overlays/OnePlusGalleryOverlay/res/values/colors.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<color name="oneplus_accent_color">@*android:color/accent_device_default</color>
|
||||
<color name="oneplus_accent_text_color">@*android:color/accent_device_default</color>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user