mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: vendorsetup: Apply routing fix
* The original AudioFlinger src blocks routing keys if caller's uid is not audioserver uid, need to bypass and allow it for system app too Change-Id: Iab16ac2327d93d1371cda05be30553cea7c54aa2 Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
9443bdc315
commit
4178d53bc3
1 changed files with 5 additions and 1 deletions
|
|
@ -27,7 +27,6 @@ echo "Generating A30 Makefiles"
|
|||
./device/samsung/a30/setup.sh
|
||||
echo "Generating A40 Makefiles"
|
||||
./device/samsung/a40/setup.sh
|
||||
ln -sf device/samsung/build.sh
|
||||
|
||||
# BT Call patch
|
||||
if ! grep -q ESCO_TRANSPORT_UNIT_SIZE system/bt/device/src/esco_parameters.cc; then
|
||||
|
|
@ -36,3 +35,8 @@ cd system/bt;
|
|||
git apply ../../device/samsung/universal7885-common/.patch/BTCalls-On-Samsung.patch;
|
||||
cd -
|
||||
fi
|
||||
# For FM Radio
|
||||
if grep -q isAudioServerUid\(callingUid\) frameworks/av/services/audioflinger/AudioFlinger.cpp; then
|
||||
echo "Applying FM routing patch"
|
||||
sed -i 's/isAudioServerUid(callingUid)/isAudioServerOrSystemServerUid(callingUid)/g' frameworks/av/services/audioflinger/AudioFlinger.cpp
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue