From 7ff103b28cb61cc95bac1270c1723decb56b7043 Mon Sep 17 00:00:00 2001 From: ReallySnow Date: Mon, 28 Feb 2022 08:31:54 +0000 Subject: [PATCH] zuma: 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 00000000..c5f61f28 --- /dev/null +++ b/allowlist_com.google.android.as.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + diff --git a/lineage_common.mk b/lineage_common.mk index 41238bfb..bbd4e305 100644 --- a/lineage_common.mk +++ b/lineage_common.mk @@ -7,6 +7,10 @@ # Overlays DEVICE_PACKAGE_OVERLAYS += device/google/zuma/overlay-lineage +# AiAi Config +PRODUCT_COPY_FILES += \ + device/google/zuma/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 \