目录

如何判断应用可被卸载

  1. 使用bundleManager.getApplicationInfo获取应用程序信息。
  2. ApplicationInfo具有removable属性,可用于判断应用是否可卸载。

参考链接

ApplicationInfo