-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Audio mixin for audio hidl one image
Update Audio mixin for audio hidl one image Tracked-On: OAM-128617 Signed-off-by: Martin, Chen <[email protected]>
- Loading branch information
1 parent
36a76ea
commit bc4c465
Showing
4 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
groups/audio/audio_base_aaos/default/policy/set_board_prop.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/vendor/bin/sh | ||
|
||
board_type=`getprop ro.boot.audio_type | cut -d, -f1` | ||
board_name=`getprop ro.boot.audio_type | cut -d, -f2` | ||
|
||
if [ -z "$board_name" ] | ||
then | ||
setprop vendor.audio.board_type "celadon" | ||
else | ||
setprop vendor.audio.board_type $board_type | ||
fi | ||
|
||
setprop vendor.audio.board_name "$board_name" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters