summaryrefslogtreecommitdiff
path: root/device-common.mk
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2020-09-23 02:09:15 +0000
committerJohn Stultz <john.stultz@linaro.org>2020-09-23 02:11:55 +0000
commit365efe26a8f0aca15f0df6661084e12f402d104b (patch)
tree732b3fc6fff2f86159da60d741f4e48eb4d1f6f7 /device-common.mk
parent48ce23715a5f3cf094e014922d9110462791458c (diff)
db845c: Add missing etc/permissions/android.software.xml
Since Android11 merged in, I have been seeing some odd crashes occasionally that was pointing to the fact that the AutoFillManager mService value was null. However, this same issue was not seen on HiKey960, with the same application and AOSP source. I dug around and realized we were not adding the android.software.xml file we add on HiKey960, and copying it over resolves the issue. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I1bc88c67030b0ed69511acdf348c27367bf7213a
Diffstat (limited to 'device-common.mk')
-rw-r--r--device-common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/device-common.mk b/device-common.mk
index d0f540e..f39d550 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -138,6 +138,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/seccomp_policy/mediaswcodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaswcodec.policy
+# Copy hardware config file(s)
+PRODUCT_COPY_FILES += \
+ device/linaro/dragonboard/etc/permissions/android.software.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.xml
+
# Memtrack
PRODUCT_PACKAGES += \
memtrack.default \