apply pkgmgr-info APIs to distinguish between user app and global app