I need to remove one particular (better) or all shortcuts (worst case) pointing to my app from stock launcher. I was unable to use UNINSTALL_SHORTCUT broadcast, it seems that it just dont work (simillar problem to this.
My app is signed by system certificate (it will be installed in /system/app) so I have some ideas, how to remove shortcuts.
Is there a working way to use UNINSTALL_SHORTCUT in ics?
I have seen that stock launcher removes all links pointing to my app when I uninstall it. Is there any way to simulate uninstalling (or send package_removed broadcast, having system privileges)? maybe write a part of package manager?
If 2 is not possible is there any way I can cause package manager to send PACKAGE_REMOVED broadcast, by reinstallation/upgrading my app? (I can install/upgrade apps silently, because I have system privileges with INSTALL_PACKAGES permission).