bangkk: Add presigned MotCamera4
* From bangkk_g-user 14 U1TCS34M.22-64-18-3 aa936 release-keys. Change-Id: I309a482e1f32bd9688a06e95c58d59f8a6f0e0b7
This commit is contained in:
parent
8d4717287a
commit
2b0f59b1c3
23 changed files with 216 additions and 0 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
proprietary/product/priv-app/MotCamera4/MotCamera4.apk filter=lfs diff=lfs merge=lfs -text
|
66
Android.bp
66
Android.bp
|
@ -8,6 +8,17 @@ soong_namespace {
|
|||
],
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "MotoSignatureApp",
|
||||
owner: "motorola",
|
||||
apk: "proprietary/system/app/MotoSignatureApp/MotoSignatureApp.apk",
|
||||
preprocessed: true,
|
||||
presigned: true,
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "EuiccPartnerApp",
|
||||
owner: "motorola",
|
||||
|
@ -19,6 +30,18 @@ android_app_import {
|
|||
product_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "MotCamera3AI",
|
||||
owner: "motorola",
|
||||
apk: "proprietary/product/app/MotCamera3AI/MotCamera3AI.apk",
|
||||
preprocessed: true,
|
||||
presigned: true,
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
product_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "EuiccGoogle",
|
||||
owner: "motorola",
|
||||
|
@ -55,6 +78,49 @@ android_app_import {
|
|||
product_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "MotCamera4",
|
||||
owner: "motorola",
|
||||
apk: "proprietary/product/priv-app/MotCamera4/MotCamera4.apk",
|
||||
preprocessed: true,
|
||||
presigned: true,
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
privileged: true,
|
||||
product_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "MotorolaSettingsProvider",
|
||||
owner: "motorola",
|
||||
apk: "proprietary/system_ext/priv-app/MotorolaSettingsProvider/MotorolaSettingsProvider.apk",
|
||||
certificate: "platform",
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
privileged: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "com.motorola.motosignature",
|
||||
owner: "motorola",
|
||||
jars: ["proprietary/system/framework/com.motorola.motosignature.jar"],
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "moto-core_services",
|
||||
owner: "motorola",
|
||||
jars: ["proprietary/system/framework/moto-core_services.jar"],
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "moto-settings",
|
||||
owner: "motorola",
|
||||
jars: ["proprietary/system/framework/moto-settings.jar"],
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "com.android.hotwordenrollment.common.util",
|
||||
owner: "motorola",
|
||||
|
|
|
@ -6,7 +6,20 @@ PRODUCT_SOONG_NAMESPACES += \
|
|||
vendor/motorola/bangkk
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/motorola/bangkk/proprietary/vendor/etc/permissions/com.motorola.camera3.bangkk.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.camera3.bangkk.xml \
|
||||
vendor/motorola/bangkk/proprietary/vendor/etc/permissions/com.motorola.camera3.content.ai.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.camera3.content.ai.xml \
|
||||
vendor/motorola/bangkk/proprietary/vendor/etc/permissions/com.motorola.camera3.lens.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.camera3.lens.xml \
|
||||
vendor/motorola/bangkk/proprietary/product/etc/permissions/com.motorola.camera3.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/com.motorola.camera3.xml \
|
||||
vendor/motorola/bangkk/proprietary/vendor/etc/permissions/com.motorola.camera3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.camera3.xml \
|
||||
vendor/motorola/bangkk/proprietary/product/etc/permissions/com.motorola.moto-uirefresh.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/com.motorola.moto-uirefresh.xml \
|
||||
vendor/motorola/bangkk/proprietary/product/etc/permissions/deviceowner-configuration-com.motorola.camera3.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/deviceowner-configuration-com.motorola.camera3.xml \
|
||||
vendor/motorola/bangkk/proprietary/product/etc/permissions/privapp-permissions-com.google.android.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-com.google.android.euicc.xml \
|
||||
vendor/motorola/bangkk/proprietary/product/etc/permissions/privapp-permissions-com.motorola.camera3.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-com.motorola.camera3.xml \
|
||||
vendor/motorola/bangkk/proprietary/product/etc/sysconfig/hiddenapi-whitelist-com.motorola.camera3.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/hiddenapi-whitelist-com.motorola.camera3.xml \
|
||||
vendor/motorola/bangkk/proprietary/system/etc/permissions/com.motorola.motosignature.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/com.motorola.motosignature.xml \
|
||||
vendor/motorola/bangkk/proprietary/system/etc/permissions/moto-core_services.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/moto-core_services.xml \
|
||||
vendor/motorola/bangkk/proprietary/system/etc/permissions/moto-settings.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/moto-settings.xml \
|
||||
vendor/motorola/bangkk/proprietary/system_ext/bin/motsettings:$(TARGET_COPY_OUT_SYSTEM_EXT)/bin/motsettings \
|
||||
vendor/motorola/bangkk/proprietary/system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/com.android.hotwordenrollment.common.util.xml \
|
||||
vendor/motorola/bangkk/proprietary/system_ext/lib/libarcsoft_calibverify_TriCamera.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib/libarcsoft_calibverify_TriCamera.so \
|
||||
vendor/motorola/bangkk/proprietary/system_ext/lib/libarcsoft_tricam_calibration.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib/libarcsoft_tricam_calibration.so \
|
||||
|
@ -570,8 +583,15 @@ PRODUCT_COPY_FILES += \
|
|||
vendor/motorola/bangkk/proprietary/vendor/lib64/vendor.qti.hardware.fingerprint@1.0.so:$(TARGET_COPY_OUT_VENDOR)/lib64/vendor.qti.hardware.fingerprint@1.0.so
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
MotoSignatureApp \
|
||||
EuiccPartnerApp \
|
||||
MotCamera3AI \
|
||||
EuiccGoogle \
|
||||
HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND \
|
||||
HotwordEnrollmentXGoogleHEXAGON_WIDEBAND \
|
||||
MotCamera4 \
|
||||
MotorolaSettingsProvider \
|
||||
com.motorola.motosignature \
|
||||
moto-core_services \
|
||||
moto-settings \
|
||||
com.android.hotwordenrollment.common.util
|
||||
|
|
BIN
proprietary/product/app/MotCamera3AI/MotCamera3AI.apk
Normal file
BIN
proprietary/product/app/MotCamera3AI/MotCamera3AI.apk
Normal file
Binary file not shown.
10
proprietary/product/etc/permissions/com.motorola.camera3.xml
Normal file
10
proprietary/product/etc/permissions/com.motorola.camera3.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
~ Copyright (C) 2013-2020 Motorola Mobility LLC,
|
||||
~ All Rights Reserved.
|
||||
~ Motorola Mobility Confidential Restricted.
|
||||
-->
|
||||
|
||||
<permissions>
|
||||
<feature name="com.motorola.camera3" />
|
||||
</permissions>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<permissions>
|
||||
<feature name="com.motorola.moto" />
|
||||
<feature name="com.motorola.moto.uirefresh" />
|
||||
<disallowed-managed-profile package="com.motorola.moto"/>
|
||||
</permissions>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<config>
|
||||
<required-managed-device package="com.motorola.camera3"/>
|
||||
<required-managed-user package="com.motorola.camera3"/>
|
||||
</config>
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<permissions>
|
||||
<privapp-permissions package="com.motorola.camera3">
|
||||
|
||||
<!-- System defined permissions -->
|
||||
<permission name="android.permission.STOP_APP_SWITCHES"/>
|
||||
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
|
||||
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
|
||||
|
||||
</privapp-permissions>
|
||||
</permissions>
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<config>
|
||||
<hidden-api-whitelisted-app package="com.motorola.camera3" />
|
||||
</config>
|
3
proprietary/product/priv-app/MotCamera4/MotCamera4.apk
Normal file
3
proprietary/product/priv-app/MotCamera4/MotCamera4.apk
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fa46cc2560504cbde8ed194f4665ec9bea850a0cc6a27dc8d6b6be6c6871da68
|
||||
size 209423397
|
BIN
proprietary/system/app/MotoSignatureApp/MotoSignatureApp.apk
Normal file
BIN
proprietary/system/app/MotoSignatureApp/MotoSignatureApp.apk
Normal file
Binary file not shown.
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<permissions>
|
||||
<library name="com.motorola.motosignature"
|
||||
file="/system/framework/com.motorola.motosignature.jar"/>
|
||||
</permissions>
|
22
proprietary/system/etc/permissions/moto-core_services.xml
Normal file
22
proprietary/system/etc/permissions/moto-core_services.xml
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2018 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.
|
||||
-->
|
||||
<permissions>
|
||||
<library
|
||||
name="moto-core_services"
|
||||
file="/system/framework/moto-core_services.jar"
|
||||
/>
|
||||
</permissions>
|
||||
|
22
proprietary/system/etc/permissions/moto-settings.xml
Normal file
22
proprietary/system/etc/permissions/moto-settings.xml
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2018 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.
|
||||
-->
|
||||
<permissions>
|
||||
<library
|
||||
name="moto-settings"
|
||||
file="/system/framework/moto-settings.jar"
|
||||
/>
|
||||
</permissions>
|
||||
|
BIN
proprietary/system/framework/com.motorola.motosignature.jar
Normal file
BIN
proprietary/system/framework/com.motorola.motosignature.jar
Normal file
Binary file not shown.
BIN
proprietary/system/framework/moto-core_services.jar
Normal file
BIN
proprietary/system/framework/moto-core_services.jar
Normal file
Binary file not shown.
BIN
proprietary/system/framework/moto-settings.jar
Normal file
BIN
proprietary/system/framework/moto-settings.jar
Normal file
Binary file not shown.
2
proprietary/system_ext/bin/motsettings
Executable file
2
proprietary/system_ext/bin/motsettings
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/system/bin/sh
|
||||
cmd motsettings "$@"
|
Binary file not shown.
10
proprietary/vendor/etc/permissions/com.motorola.camera3.bangkk.xml
vendored
Normal file
10
proprietary/vendor/etc/permissions/com.motorola.camera3.bangkk.xml
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
~ Copyright (C) 2023 Motorola Mobility LLC,
|
||||
~ All Rights Reserved.
|
||||
~ Motorola Mobility Confidential Restricted.
|
||||
-->
|
||||
|
||||
<permissions>
|
||||
<feature name="com.motorola.camera3.bangkk" />
|
||||
</permissions>
|
9
proprietary/vendor/etc/permissions/com.motorola.camera3.content.ai.xml
vendored
Normal file
9
proprietary/vendor/etc/permissions/com.motorola.camera3.content.ai.xml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
~ Copyright (C) 2019 Motorola Mobility LLC,
|
||||
~ All Rights Reserved.
|
||||
~ Motorola Mobility Confidential Restricted.
|
||||
-->
|
||||
<permissions>
|
||||
<feature name="com.motorola.camera3.content.ai" />
|
||||
</permissions>
|
10
proprietary/vendor/etc/permissions/com.motorola.camera3.lens.xml
vendored
Normal file
10
proprietary/vendor/etc/permissions/com.motorola.camera3.lens.xml
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
~ Copyright (C) 2013-2020 Motorola Mobility LLC,
|
||||
~ All Rights Reserved.
|
||||
~ Motorola Mobility Confidential Restricted.
|
||||
-->
|
||||
|
||||
<permissions>
|
||||
<feature name="com.google.lens.feature.CAMERA_INTEGRATION" />
|
||||
</permissions>
|
10
proprietary/vendor/etc/permissions/com.motorola.camera3.xml
vendored
Normal file
10
proprietary/vendor/etc/permissions/com.motorola.camera3.xml
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
~ Copyright (C) 2013-2020 Motorola Mobility LLC,
|
||||
~ All Rights Reserved.
|
||||
~ Motorola Mobility Confidential Restricted.
|
||||
-->
|
||||
|
||||
<permissions>
|
||||
<feature name="com.motorola.camera3" />
|
||||
</permissions>
|
Loading…
Reference in a new issue