OTA upgrade problem

Which system do you use? Android, Ubuntu, OOWOW or others?

android

Which version of system do you use? Please provide the version of the system here:

kvim3 android9

Please describe your issue below:

When the download is complete after the upgrade package, call the upgrade method in OtaUpgradeUtils. After ProgressListener completed onProgress () callback, schedule calls for a onCopyProgress (), then there is no any response

Post a console log of your issue below:







@cara_cr
Please refer to the code in this folder.

vendor/amlogic/common/apps/OTAUpgrade2/

是参考的这份代码进行开发。但调用installPackage后我的app会崩溃,排查发现可能是因为我的app是android6以上版本,对recovery权限做了限制。请问有什么解决方式么?
vendor/amlogic/common/apps/OTAUpgrade2/这个demo是android6以下的,可以动态申请权限所以不会报错。

@cara_cr
你可以在系统里默认给你的APP授权或者使用系统签名一下你的APP看看。