downloading
false
FotaDemo
rebootUpgrade()
finish upgrade and boot and new version
startDownloading()
checkVersion()
upddate fota
download upgrade package
check andconfigure storage size
cache info.MobAgentPolicy.initConfig(this);
recovery upgrade
true
notify reboot.apk to upgrade system
end
configure only WiFi
device parametersMobileParamInfo.initInfo()
test version
success
Configure minimum power and meet requirements
download error callback
initiate test version request:MobAgentPolicy.checkVersion()
error callback for error code
send download request:DLService.start()
SDK internal, network request
connection with Wifi
device IDmid/imei/sn
pop-up dialog andprompt user
download upgrade packagein SDK
fail
Initialize SDK
upgrade package path
discover new version andsuccessful callback