mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-24 04:45:32 -04:00
universal7885: FMRadio: Remove source edit
If the AIDL hal which can be allowed to change uid calls audioflinger API to change route, we don't need to change source for it. seteuid(audioserver_uid) will work fine
This commit is contained in:
parent
4296d27bea
commit
946f4768e9
11 changed files with 27 additions and 39 deletions
|
|
@ -24,11 +24,6 @@ for dev in a10dd a10 a20 a20e a30 a30s a40; do
|
|||
bash ${UNIVERSAL}/setup.sh "$dev"
|
||||
done
|
||||
|
||||
# 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
|
||||
# Remove multiple declared FMRadio path (we have our own FMRadio and this cause build error)
|
||||
if [ -d "$FM_PATH" ]; then
|
||||
echo "Remove FMRadio from ROM Source"
|
||||
|
|
|
|||
Loading…
Reference in a new issue