# Disable Packages

### Overview <a href="#overview-0" id="overview-0"></a>

Disable Packages is a Launcher feature that enforces the organization's security policies on your Android enterprise devices. It prevents users from installing unwanted apps that can take up more storage space, compromise data security, and even distract users from focusing on their tasks.

### User Guide <a href="#user-guide-1" id="user-guide-1"></a>

This feature disables packages after start-up. Packages can only be disabled after loading the configuration. Only packages that are not in the ‘protected’ list of applications will be disabled. For instance, a device administrator cannot disable com.bluefletch.ems.support.

1. After loading the configuration is loaded, this feature will disable all packages in the disablePackages collection.
2. If the package exists within the Protected List collection, it will not be disabled.

### Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Disable Packages feature for a particular device profile or device group, please follow the steps below:

#### Setting Up Packages to be Disabled <a href="#setting-up-packages-to-be-disabled-3" id="setting-up-packages-to-be-disabled-3"></a>

The example below shows a list of packages to be disabled:

```json
"disablePackages": [
         "com.google.android.googlequicksearchbox",
         "com.android.browser"
 ]
```

#### Disabling Individual Activities in Various OEMs

The capability around disabling individual components/activities within a package differ by OEM.

* **Zebra:** EMDK does not support disabling individual activities; attempting to disable an activity will disable the whole package.
* **Samsung:** Knox supports disabling individual activities.
* **Platform-signed OEMs:** The BlueFletch Platform Service APK supports disabling individual activities, so OEMs that platform sign can support this functionality while the Platform Service app is installed and running.

The format for a disabled activity string is `"<package name>/<package.activity>"`.

**Example:**

```json
"disablePackages": [
         "com.android.settings/com.android.settings.applications.InstalledAppDetails"
 ]
```

{% hint style="info" %}
Disable Packages was introduced in Launcher 2.8.x.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/security-and-safety/disable-packages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
