DroidStore

Browse all apps

Blocker

A component controller for Android applications
com.merxury.blocker
Version2.0.6339
Download size8.5 MB
Released2026-03-23
CategoryApp Manager
SourceF-Droid · fdroid-main
Install via WebUSB Download APK

About Blocker

Blocker is a component controller for Android applications that currently supports using PackageManager and Intent Firewall to manage the state of components. It can be seamlessly switched between these controllers, and for application rules, you can export and import them. Additionally, it is compatible with backup files generated by MyAndroidTools, and you can effortlessly convert them to Intent Firewall rules. The application also has the potential to be extended in the future. <h3>Advantages</h3> <ol> <li>Lightweight, don't burden the system</li> <li>Easy to use</li> <li>Supports multiple control types</li> </ol> <h3>Introduction to different component controllers</h3> <h4>Package Manager</h4> The Android system provides a tool called PackageManager, which is used for managing installed applications or obtaining information about them. One of its methods, <em>setComponentEnabledSetting(ComponentName, int, int)</em>, allows an application to control the state of its own components. If attempting to use this method to control components in other applications, a signature permission is required, or the call will fail. Fortunately, Android provides another tool called <em>pm</em> that allows users to control component states in command-line mode. However, the <em>pm</em> tool requires root permission to run. The following command can be used to disable a specific package or component: <blockquote> pm disable [PackageName/ComponentName] </blockquote> Whether using PackageManager in the code or <em>pm</em> in command-line mode, the configurations will be written to <em>/data/system/users/0/package_restrictions.xml</em>. <h4>Intent Firewall Mode</h4> Intent Firewall was introduced in Android 4.4.2 (API 19) and is still effective in the latest Android systems. It is integrated into the Android Framework to filter the intents sent by applications or systems. <h5>What Intent Firewall can do</h5> Each intent sent by an application is filtered by the Intent Firewall,

← Back to browse · JSON