From 9d031d1f3ae90363a4c21b00a06ea86f80eddba5 Mon Sep 17 00:00:00 2001 From: ReallySnow Date: Mon, 28 Feb 2022 08:31:54 +0000 Subject: [PATCH] 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 | 31 +++++++++++++++++++++++++++++ lineage_common.mk | 4 ++++ 2 files changed, 35 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..11e6e8d2 --- /dev/null +++ b/allowlist_com.google.android.as.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + diff --git a/lineage_common.mk b/lineage_common.mk index 3f78c602..80f87a0d 100644 --- a/lineage_common.mk +++ b/lineage_common.mk @@ -7,6 +7,10 @@ # Overlays DEVICE_PACKAGE_OVERLAYS += device/google/gs201/overlay-lineage +# AiAi Config +PRODUCT_COPY_FILES += \ + device/google/gs201/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 \