mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: vendorsetup: remove FMRadio
remove FMRadio. We have our own FMRadio and it will give u an error: "Multiple definiton"
This commit is contained in:
parent
c90bfd800a
commit
0164a22774
1 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
FM_PATH="packages/apps/FMRadio"
|
||||
rm -rf hardware/samsung
|
||||
if [ -e ~/.git-credentials ]; then
|
||||
MODE="https://"
|
||||
|
|
@ -40,3 +41,8 @@ if grep -q isAudioServerUid\(callingUid\) frameworks/av/services/audioflinger/Au
|
|||
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"
|
||||
rm -Rf $FM_PATH;
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue