From 3e1af0ec9b91af351fc9a3292cf0a8dd03c54caf Mon Sep 17 00:00:00 2001 From: ReallySnow Date: Mon, 28 Feb 2022 08:31:54 +0000 Subject: [PATCH] zumapro: Add AiAi allowlist * In Android 12, Android System Intelligence (com.google.android.as) uses some of the Private Compute Service (com.google.android.as.oss) services. The absence of these Allowlists will cause Android System Intelligence to fail to connect to the network and cause collapse. * We don't need to extract google.xml to fix it, just extract the AiAi part Change-Id: I446ae5d243cff134901094f82c90a0bbf3bb4381 --- allowlist_com.google.android.as.xml | 33 +++++++++++++++++++++++++++++ lineage_common.mk | 4 ++++ 2 files changed, 37 insertions(+) create mode 100644 allowlist_com.google.android.as.xml diff --git a/allowlist_com.google.android.as.xml b/allowlist_com.google.android.as.xml new file mode 100644 index 0000000..c5f61f2 --- /dev/null +++ b/allowlist_com.google.android.as.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + diff --git a/lineage_common.mk b/lineage_common.mk index 6410ae8..118174e 100644 --- a/lineage_common.mk +++ b/lineage_common.mk @@ -7,6 +7,10 @@ # Overlays DEVICE_PACKAGE_OVERLAYS += device/google/zumapro/overlay-lineage +# AiAi Config +PRODUCT_COPY_FILES += \ + device/google/zumapro/allowlist_com.google.android.as.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/allowlist_com.google.android.as.xml + # Camera PRODUCT_PRODUCT_PROPERTIES += \ ro.vendor.camera.extensions.package=com.google.android.apps.camera.services \