Fix Play Services crashing on Galaxy S21 Ultra

Samsung defines the presence of UWB framework in /vendor
This is wrong, because the UWB framework is hosted in /system
Which means that when booting a GSI, framework will say it has UWB
while it doesn't
This commit is contained in:
Pierre-Hugues Husson 2022-03-04 10:07:20 -05:00
parent 2818802996
commit 9e8679d273

View File

@ -1066,3 +1066,5 @@ if getprop ro.vendor.build.fingerprint | grep -iq -e motorola/liber; then
chcon -h u:object_r:vendor_configs_file:s0 /vendor/etc/audio_policy_configuration.xml chcon -h u:object_r:vendor_configs_file:s0 /vendor/etc/audio_policy_configuration.xml
chmod 644 /vendor/etc/audio_policy_configuration.xml chmod 644 /vendor/etc/audio_policy_configuration.xml
fi fi
mount /system/phh/empty /vendor/etc/permissions/samsung.hardware.uwb.xml