berlin: import hotword from common

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I556826710d88cca4a24738f3fbd7055efdd2977e
This commit is contained in:
Andrew Hexen 2023-06-01 07:11:24 -07:00 committed by Nolen Johnson
parent b3eb6ed48f
commit 8e0aae90b5
6 changed files with 54 additions and 0 deletions

View File

@ -26,6 +26,30 @@ android_app_import {
product_specific: true, product_specific: true,
} }
android_app_import {
name: "HotwordEnrollmentOKGoogleHEXAGON",
owner: "motorola",
apk: "proprietary/product/priv-app/HotwordEnrollmentOKGoogleHEXAGON/HotwordEnrollmentOKGoogleHEXAGON.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "HotwordEnrollmentXGoogleHEXAGON",
owner: "motorola",
apk: "proprietary/product/priv-app/HotwordEnrollmentXGoogleHEXAGON/HotwordEnrollmentXGoogleHEXAGON.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import { android_app_import {
name: "MotCamera3", name: "MotCamera3",
owner: "motorola", owner: "motorola",
@ -69,6 +93,13 @@ dex_import {
jars: ["proprietary/system/framework/moto-settings.jar"], jars: ["proprietary/system/framework/moto-settings.jar"],
} }
dex_import {
name: "com.android.hotwordenrollment.common.util",
owner: "motorola",
jars: ["proprietary/system_ext/framework/com.android.hotwordenrollment.common.util.jar"],
system_ext_specific: true,
}
dex_import { dex_import {
name: "com.motorola.androidx.camera.extensions", name: "com.motorola.androidx.camera.extensions",
owner: "motorola", owner: "motorola",

View File

@ -21,6 +21,7 @@ PRODUCT_COPY_FILES += \
vendor/motorola/berlin/proprietary/system/etc/permissions/moto-core_services.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/moto-core_services.xml \ vendor/motorola/berlin/proprietary/system/etc/permissions/moto-core_services.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/moto-core_services.xml \
vendor/motorola/berlin/proprietary/system/etc/permissions/moto-settings.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/moto-settings.xml \ vendor/motorola/berlin/proprietary/system/etc/permissions/moto-settings.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/moto-settings.xml \
vendor/motorola/berlin/proprietary/system_ext/bin/motsettings:$(TARGET_COPY_OUT_SYSTEM_EXT)/bin/motsettings \ vendor/motorola/berlin/proprietary/system_ext/bin/motsettings:$(TARGET_COPY_OUT_SYSTEM_EXT)/bin/motsettings \
vendor/motorola/berlin/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/berlin/proprietary/system_ext/etc/permissions/com.motorola.androidx.camera.extensions.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/com.motorola.androidx.camera.extensions.xml \ vendor/motorola/berlin/proprietary/system_ext/etc/permissions/com.motorola.androidx.camera.extensions.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/com.motorola.androidx.camera.extensions.xml \
vendor/motorola/berlin/proprietary/vendor/etc/permissions/com.motorola.androidx.camera.extensions.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.androidx.camera.extensions.xml \ vendor/motorola/berlin/proprietary/vendor/etc/permissions/com.motorola.androidx.camera.extensions.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.androidx.camera.extensions.xml \
vendor/motorola/berlin/proprietary/system_ext/etc/public.libraries-motocamera.txt:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/public.libraries-motocamera.txt \ vendor/motorola/berlin/proprietary/system_ext/etc/public.libraries-motocamera.txt:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/public.libraries-motocamera.txt \
@ -642,9 +643,12 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
MotoSignatureApp \ MotoSignatureApp \
MotCamera3AI \ MotCamera3AI \
HotwordEnrollmentOKGoogleHEXAGON \
HotwordEnrollmentXGoogleHEXAGON \
MotCamera3 \ MotCamera3 \
MotorolaSettingsProvider \ MotorolaSettingsProvider \
com.motorola.motosignature \ com.motorola.motosignature \
moto-core_services \ moto-core_services \
moto-settings \ moto-settings \
com.android.hotwordenrollment.common.util \
com.motorola.androidx.camera.extensions com.motorola.androidx.camera.extensions

View File

@ -0,0 +1,19 @@
<?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="com.android.hotwordenrollment.common.util" file="/system_ext/framework/com.android.hotwordenrollment.common.util.jar"/>
</permissions>