init.raviole.rc: chmod for speaker.cal
The speaker calibration step is changed in factory and the speaker calibration file's permission is incorrect. Then audio hal cannot read speaker.cal file to apply it and only apply default cal value. Correct the file mode when init. Bug: 197039088 Test: push the script into device and check file mode after rebooting device Signed-off-by: Robert Lee <lerobert@google.com> Change-Id: I1339f006f4477288cb41d07cb32caba0921b6e09
This commit is contained in:
parent
0e8a67f822
commit
bedf39fb89
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ on post-fs-data
|
|||
chown system system /dev/goodix_fp
|
||||
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g6.app
|
||||
|
||||
# Speaker amp permission
|
||||
chmod 666 /mnt/vendor/persist/audio/speaker.cal
|
||||
|
||||
# Start the twoshay touch service
|
||||
start twoshay
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue