feat: refresh managed audio after OTA activation

This commit is contained in:
chenjintao
2026-10-12 16:47:58 +08:00
parent 886ea58419
commit 84ce54eeb0
8 changed files with 574 additions and 45 deletions
@@ -182,13 +182,12 @@ void app_file_check_download(void)
int index = 1;
char url_buff[128]={0x00};
char filename_buff[64]={0x00};
int ret = 0, cnt = 0;
int ret = 0;
for(index=1;index<20;index++){
int cnt = 0;
/* barge_in_cute.mp3 is shipped in customer_fs and is not hosted by the
* legacy prompt download service. */
if(index==4||index==5||index==6||index==7||index==8||index==19){
if(index==4||index==5||index==6||index==7||index==8){
continue;
}
@@ -213,9 +212,7 @@ void app_file_check_del(void)
for(index=1;index<20;index++){
/* Keep the bundled barge-in prompt across app-only FOTA. Unlike the
* server-managed prompts, it cannot be restored by the downloader. */
if(index==4||index==5||index==6||index==7||index==8||index==19){
if(index==4||index==5||index==6||index==7||index==8){
continue;
}