Android Package Manager - verifyPendingInstall

我是研究僧i 提交于 2019-12-11 01:37:26

问题


In Ice Cream Sandwich I see a new function for package manager which is

verifyPendingInstall()

"Allows a package listening to the package verification broadcast to respond to the package manager. The response must include the verificationCode which is one of VERIFICATION_ALLOW or VERIFICATION_REJECT."

http://developer.android.com/sdk/api_diff/14/changes.html

I am curious to know its meaning as it is not very clear to me what exact difference it is trying to do here that was not done previously and what purpose it will achieve.

Any ideas?

EDIT: No thoughts by anyone?


回答1:


SO may not be the best place for discussions. Post on the official Android mailing lists, maybe someone will be able to shed some light.

If it is undocumented, your best bet is to check the source code. From a cursory look, it seems to be part of some kind of framework to allow multiple packages/process to allow or reject a package. Probably not useful for user-facing applications.



来源:https://stackoverflow.com/questions/8416537/android-package-manager-verifypendinginstall

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!