Fix unavailable window magnification feature for upgraded

device

The feature xml is copyed to vendor partition. However,
OEM might not update the vendor parition when migrating system.
To fix it, we need to copy it to system partition.

Bug: 244382630
Test: manual test
Change-Id: Ie81d2c36f5cd0ad5aaa93e778a5162525c6fcfc5
This commit is contained in:
ryanlwlin
2022-08-30 20:13:15 +08:00
parent da1b160389
commit fe635dab29

View File

@@ -79,7 +79,8 @@ PRODUCT_SYSTEM_SERVER_APPS += \
Telecom \ Telecom \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \
frameworks/native/data/etc/android.software.window_magnification.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.window_magnification.xml \
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
ro.carrier?=unknown \ ro.carrier?=unknown \