目录

How do I check whether an application is a system application?

  1. Connect the device.
  2. Run the following command to print logs (for details about how to obtain the bundle name, see bundleManager.getBundleInfoForSelf):
    hdc shell bm dump -n <Bundle Name>
  3. If the value of isSystemApp is true, the current application is a system application.

    The following figures show part of the log: