zenfone9: Copy handheld_core_hardware permissions from source

Change-Id: Id4e057ebeee787c104b2b32330034888af3f2fed
diff --git a/device.mk b/device.mk
index d6cad51..3a56634 100755
--- a/device.mk
+++ b/device.mk
@@ -235,6 +235,10 @@
 PRODUCT_PACKAGES += \
     vendor.qti.hardware.perf@2.3
 
+# Permisions
+PRODUCT_COPY_FILES += \
+    frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
+
 # Platform
 PRODUCT_AAPT_CONFIG := normal
 PRODUCT_AAPT_PREF_CONFIG := xxhdpi
diff --git a/proprietary-files-vendor.txt b/proprietary-files-vendor.txt
index 1f84297..4ff1f14 100644
--- a/proprietary-files-vendor.txt
+++ b/proprietary-files-vendor.txt
@@ -762,7 +762,6 @@
 vendor/etc/permissions/android.software.vulkan.deqp.level.xml
 vendor/etc/permissions/com.android.nfc_extras.xml
 vendor/etc/permissions/com.nxp.mifare.xml
-vendor/etc/permissions/handheld_core_hardware.xml
 vendor/etc/permissions/noRil/apq_excluded_telephony_features.xml
 vendor/etc/permissions/sku_diwali/android.hardware.strongbox_keystore.xml
 vendor/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml
diff --git a/regen-vendor.sh b/regen-vendor.sh
index 67c9ae2..a93195b 100755
--- a/regen-vendor.sh
+++ b/regen-vendor.sh
@@ -797,6 +797,9 @@
     "lib64/libozoaudioutils.so"
     "lib64/libozocapability.so"
 
+    # Permissions
+    "etc/permissions/handheld_core_hardware.xml"
+
     # Power
     "bin/hw/android.hardware.power-service"
     "etc/init/android.hardware.power-service.rc"