Help Center/ Cloud Phone Host/ User Guide/ Using AOSP/ App Installation Blacklist
Updated on 2023-10-11 GMT+08:00

App Installation Blacklist

Function

Applications added to the blacklist cannot be installed. If you want to set a blacklist for all applications of a series, you can use the substring shared by the package names of this series of applications in the configuration file. For example, company A launches two applications and their package names are com.aaa.bbb and com.aaa.ccc. If you want to set a blacklist for the packages of the two applications at the same time, you can configure com.aaa in the whitelist.

How to Use

Push the configuration file to the /data/local/config/InstallBlacklist path.

Constraints

  • The configuration format must be as follows: ${partial_package_name}

Examples:

com.aaa

com.company1.package

com.company2.package

  • The configuration file uses the Unix line feed (\n).
  • Set the /data/local/config folder permissions to 755.
  • Set the file permissions to 644.
  • The setting takes effect immediately.