一、问题描述:
二、解决方案:
Date: Tue, 08 Aug 2023 11:27:51 +0000
Subject: [PATCH] feat:修复manager user问题以及CTSV widget问题
Describle:增加managed_users属性xml文件;去除app_widgets feature属性
Self Test:Pass
Change-Id: I7ad79724b8e58a6165234187fc70425411812f40
---
diff --git a/device.mk b/device.mk
index 6946fb6..10d545c 100755
--- a/device.mk
+++ b/device.mk
@@ -132,6 +132,9 @@
PRODUCT_COPY_FILES += frameworks/native/data/etc/android.software.vulkan.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml
PRODUCT_PACKAGES += vulkan.mt6765
+# Add managed users for gms
+PRODUCT_COPY_FILES += frameworks/native/data/etc/android.software.managed_users.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.managed_users.xml
+
$(call inherit-product, device/mediatek/mt6765/device.mk)
$(call inherit-product-if-exists, vendor/mediatek/libs/$(MTK_TARGET_PROJECT)/device-vendor.mk)
diff --git a/handheld_core_hardware.xml b/handheld_core_hardware.xml
index a08c4f2..e455b15 100644
--- a/handheld_core_hardware.xml
+++ b/handheld_core_hardware.xml
@@ -38,7 +38,7 @@
<feature name="android.hardware.screen.landscape" />
<!-- basic system services -->
- <feature name="android.software.app_widgets" />
+ <!--feature name="android.software.app_widgets" /-->
<feature name="android.software.connectionservice" />
<feature name="android.software.voice_recognizers" notLowRam="true" />
<feature name="android.software.backup" />