3
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
ralph950412 3f56e9160f gms: Import Google Avatar Picker
Change-Id: I67bf3956f854d4185637056f1619ec5178cd0749
2024-09-08 02:24:20 +08:00
ralph950412 c28f8a85c3 gms: Add tensor pixel_experience XMLs
Now that PropImitationHooks disable them for certain packages, we can safely include these again.

Change-Id: I4cfd3be06c459e713d9f502fc618f2868be1ee32
2024-09-08 02:24:15 +08:00
13 changed files with 121 additions and 1 deletions

View File

@ -890,6 +890,20 @@ android_app_import {
system_ext_specific: true,
}
android_app_import {
name: "AvatarPickerGoogle",
owner: "gms",
apk: "proprietary/system_ext/priv-app/AvatarPickerGoogle/AvatarPickerGoogle.apk",
overrides: ["AvatarPicker"],
preprocessed: true,
presigned: true,
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "GoogleFeedback",
owner: "gms",

View File

@ -39,6 +39,14 @@ PRODUCT_COPY_FILES += \
vendor/gms/common/proprietary/product/etc/sysconfig/pixel_experience_2019_midyear.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/pixel_experience_2019_midyear.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/pixel_experience_2020.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/pixel_experience_2020.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/pixel_experience_2020_midyear.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/pixel_experience_2020_midyear.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/pixel_experience_2021.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/pixel_experience_2021.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/pixel_experience_2021_midyear.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/pixel_experience_2021_midyear.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/pixel_experience_2022.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/pixel_experience_2022.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/pixel_experience_2022_midyear.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/pixel_experience_2022_midyear.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/pixel_experience_2023.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/pixel_experience_2023.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/pixel_experience_2023_midyear.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/pixel_experience_2023_midyear.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/pixel_experience_2024.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/pixel_experience_2024.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/pixel_experience_2024_midyear.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/pixel_experience_2024_midyear.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/preinstalled-packages-product-pixel-2017-and-newer.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/preinstalled-packages-product-pixel-2017-and-newer.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/preinstalled-packages-product-pixel-2018-and-newer.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/preinstalled-packages-product-pixel-2018-and-newer.xml \
vendor/gms/common/proprietary/product/etc/sysconfig/preinstalled-packages-product-pixel-2019-and-newer.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/preinstalled-packages-product-pixel-2019-and-newer.xml \
@ -184,7 +192,8 @@ PRODUCT_COPY_FILES += \
vendor/gms/common/proprietary/product/usr/srec/en-US/voice_match/MARBLE_speakerid.tflite:$(TARGET_COPY_OUT_PRODUCT)/usr/srec/en-US/voice_match/MARBLE_speakerid.tflite \
vendor/gms/common/proprietary/product/usr/srec/en-US/voice_match/MARBLE_voice_filter.tflite:$(TARGET_COPY_OUT_PRODUCT)/usr/srec/en-US/voice_match/MARBLE_voice_filter.tflite \
vendor/gms/common/proprietary/system/etc/permissions/privapp-permissions-google.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-google.xml \
vendor/gms/common/proprietary/system_ext/etc/permissions/privapp-permissions-google-se.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-google-se.xml
vendor/gms/common/proprietary/system_ext/etc/permissions/privapp-permissions-google-se.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-google-se.xml \
vendor/gms/common/proprietary/system_ext/etc/sysconfig/preinstalled-packages-com.android.google.avatarpicker.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/preinstalled-packages-com.android.google.avatarpicker.xml
PRODUCT_PACKAGES += \
GoogleExtShared \
@ -256,6 +265,7 @@ PRODUCT_PACKAGES += \
AccessibilityMenu \
EmergencyInfoGoogleNoUi \
Flipendo \
AvatarPickerGoogle \
GoogleFeedback \
GoogleServicesFramework \
SetupWizardPixelPrebuilt \

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2021 and newer devices. -->
<config>
<!-- This is meant to be the canonical feature identifying 2021 and newer devices. -->
<feature name="com.google.android.feature.PIXEL_2021_EXPERIENCE" />
<!-- Allow Pixel Support app to take bug report. -->
<bugreport-whitelisted package="com.google.android.apps.pixel.support" />
</config>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2021 mid year and newer devices. -->
<config>
<!-- This is meant to be the canonical feature identifying 2021 mid year and newer devices. -->
<feature name="com.google.android.feature.PIXEL_2021_MIDYEAR_EXPERIENCE" />
</config>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2022 and newer devices. -->
<config>
<!-- This is meant to be the canonical feature identifying 2022 and newer devices. -->
<feature name="com.google.android.feature.PIXEL_2022_EXPERIENCE" />
</config>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2022 mid year and newer devices. -->
<config>
<!-- This is meant to be the canonical feature identifying 2022 mid year and newer devices. -->
<feature name="com.google.android.feature.PIXEL_2022_MIDYEAR_EXPERIENCE" />
</config>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2023 and newer devices. -->
<config>
<!-- This is meant to be the canonical feature identifying 2023 and newer devices. -->
<feature name="com.google.android.feature.PIXEL_2023_EXPERIENCE" />
</config>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2023 mid year and newer devices. -->
<config>
<!-- This is meant to be the canonical feature identifying 2023 mid year and newer devices. -->
<feature name="com.google.android.feature.PIXEL_2023_MIDYEAR_EXPERIENCE" />
</config>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2024 and newer devices. -->
<config>
<!-- This is meant to be the canonical feature identifying 2024 and newer devices. -->
<feature name="com.google.android.feature.PIXEL_2024_EXPERIENCE" />
<allow-ignore-location-settings package="com.google.android.apps.stargate" attributionTag="*" />
</config>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2024 mid year and newer devices. -->
<config>
<!-- This is meant to be the canonical feature identifying 2024 mid year and newer devices. -->
<feature name="com.google.android.feature.PIXEL_2024_MIDYEAR_EXPERIENCE" />
</config>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?><!--
/**
* Copyright (C) 2024 Google Inc.
*
* 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.
*/
-->
<config>
<install-in-user-type package="com.google.android.avatarpicker">
<install-in user-type="FULL"/>
</install-in-user-type>
</config>

View File

@ -88,6 +88,9 @@ product/media/audio/ui/camera_focus.ogg
product/media/audio/ui/reverse_charging_end.ogg
product/media/audio/ui/reverse_charging_start.ogg
# Avatar Picker
system_ext/priv-app/AvatarPickerGoogle/AvatarPickerGoogle.apk;OVERRIDES=AvatarPicker;PRESIGNED
# Browser
product/app/Chrome-Stub/Chrome-Stub.apk;OVERRIDES=webview,Browser2,Jelly;PRESIGNED
product/app/Chrome/Chrome.apk.gz
@ -283,6 +286,7 @@ product/etc/permissions/split-permissions-google.xml
product/etc/permissions/privapp-permissions-google-pearl.xml
system/etc/permissions/privapp-permissions-google.xml
system_ext/etc/permissions/privapp-permissions-google-se.xml
system_ext/etc/sysconfig/preinstalled-packages-com.android.google.avatarpicker.xml
# Phone
product/app/GoogleContacts/GoogleContacts.apk;OVERRIDES=Contacts,Contacts2;PRESIGNED
@ -341,6 +345,14 @@ product/etc/sysconfig/pixel_experience_2019.xml
product/etc/sysconfig/pixel_experience_2019_midyear.xml
product/etc/sysconfig/pixel_experience_2020.xml
product/etc/sysconfig/pixel_experience_2020_midyear.xml
product/etc/sysconfig/pixel_experience_2021.xml
product/etc/sysconfig/pixel_experience_2021_midyear.xml
product/etc/sysconfig/pixel_experience_2022.xml
product/etc/sysconfig/pixel_experience_2022_midyear.xml
product/etc/sysconfig/pixel_experience_2023.xml
product/etc/sysconfig/pixel_experience_2023_midyear.xml
product/etc/sysconfig/pixel_experience_2024.xml
product/etc/sysconfig/pixel_experience_2024_midyear.xml
product/etc/sysconfig/preinstalled-packages-product-pixel-2017-and-newer.xml
product/etc/sysconfig/preinstalled-packages-product-pixel-2018-and-newer.xml
product/etc/sysconfig/preinstalled-packages-product-pixel-2019-and-newer.xml