目录

How do I determine whether an application can be uninstalled?

  1. Call the bundleManager.getApplicationInfo API to obtain application information.
  2. Check the removable property in the obtained information to find out whether the application can be uninstalled.

Reference

ApplicationInfo