fogos: Add presigned MotCamera4
* From fogos_g-user 14 U1UGS34M.23-82-2-3 da6528 release-keys. Change-Id: I3cf62eb80c72cbf966b7ac144286cf4700348026
This commit is contained in:
parent
9f81b624e0
commit
a599014b6c
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/fogos
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/motorola/fogos/proprietary/vendor/etc/permissions/com.motorola.camera3.content.ai.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.camera3.content.ai.xml \
|
||||
vendor/motorola/fogos/proprietary/vendor/etc/permissions/com.motorola.camera3.fogos.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.camera3.fogos.xml \
|
||||
vendor/motorola/fogos/proprietary/vendor/etc/permissions/com.motorola.camera3.lens.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.camera3.lens.xml \
|
||||
vendor/motorola/fogos/proprietary/product/etc/permissions/com.motorola.camera3.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/com.motorola.camera3.xml \
|
||||
vendor/motorola/fogos/proprietary/vendor/etc/permissions/com.motorola.camera3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.camera3.xml \
|
||||
vendor/motorola/fogos/proprietary/product/etc/permissions/com.motorola.moto-uirefresh.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/com.motorola.moto-uirefresh.xml \
|
||||
vendor/motorola/fogos/proprietary/product/etc/permissions/deviceowner-configuration-com.motorola.camera3.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/deviceowner-configuration-com.motorola.camera3.xml \
|
||||
vendor/motorola/fogos/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/fogos/proprietary/product/etc/permissions/privapp-permissions-com.motorola.camera3.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-com.motorola.camera3.xml \
|
||||
vendor/motorola/fogos/proprietary/product/etc/sysconfig/hiddenapi-whitelist-com.motorola.camera3.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/hiddenapi-whitelist-com.motorola.camera3.xml \
|
||||
vendor/motorola/fogos/proprietary/system/etc/permissions/com.motorola.motosignature.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/com.motorola.motosignature.xml \
|
||||
vendor/motorola/fogos/proprietary/system/etc/permissions/moto-core_services.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/moto-core_services.xml \
|
||||
vendor/motorola/fogos/proprietary/system/etc/permissions/moto-settings.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/moto-settings.xml \
|
||||
vendor/motorola/fogos/proprietary/system_ext/bin/motsettings:$(TARGET_COPY_OUT_SYSTEM_EXT)/bin/motsettings \
|
||||
vendor/motorola/fogos/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/fogos/proprietary/vendor/bin/capsense_reset:$(TARGET_COPY_OUT_VENDOR)/bin/capsense_reset \
|
||||
vendor/motorola/fogos/proprietary/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-goodixservice:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.biometrics.fingerprint@2.1-goodixservice \
|
||||
|
@ -389,8 +402,15 @@ PRODUCT_COPY_FILES += \
|
|||
vendor/motorola/fogos/proprietary/vendor/lib64/vendor.qti.hardware.scve.panorama@1.0.so:$(TARGET_COPY_OUT_VENDOR)/lib64/vendor.qti.hardware.scve.panorama@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:ff0541a8b175eabb6998ddcd64173731cea351de494e9a387256ca99c0b7d5e5
|
||||
size 230860128
|
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.
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.fogos.xml
vendored
Normal file
10
proprietary/vendor/etc/permissions/com.motorola.camera3.fogos.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.fogos" />
|
||||
</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