Android’s Advanced Protection Mode now targets your favorite customization, automation apps

Google is currently refining its Advanced Protection Mode, a feature designed to bolster security for high-risk individuals by implementing new restrictions on the AccessibilityService API. This API, while essential for aiding users with disabilities, has been exploited by various applications over the years, leading to potential security vulnerabilities. The latest updates, observed in the Android Canary build, aim to mitigate these risks by limiting the permissions granted to apps that do not qualify as Accessibility Tools.

Accessibility Service API and its potential for misuse

Over the past decade, the AccessibilityService API has been a double-edged sword. While it serves a vital role in assisting users with disabilities, it has also been misused by numerous applications to circumvent system limitations. Google has progressively tightened its policies to prevent such abuses, emphasizing the security risks associated with apps that hold accessibility permissions. These permissions can allow apps to read screen content and perform actions on behalf of users, which raises significant concerns.

To combat this, Google has mandated that applications designed to assist users with disabilities must declare their status as Accessibility Tools by including the isAccessibilityTool attribute in their metadata. Examples of these tools include:

  • Screen readers for individuals with visual impairments.
  • Switch-based input systems for those with motor impairments.
  • Voice-based input systems to aid users with motor challenges.
  • Braille access systems for users with both visual and hearing impairments.
  • Tools catering to users with cognitive impairments or multiple disabilities.

Conversely, applications that do not meet this classification may encompass automation tools, monitoring apps, antivirus solutions, and even launcher applications. Many of these utilize the AccessibilityService API to navigate system restrictions. For instance, dynamicSpot, an app that mimics Dynamic Island functionality, leverages this API to read notifications and display alerts over other applications, showcasing the potential for misuse that could concern security-conscious users.

Advanced Protection Mode can now prevent misuse of Accessibility Service API

In the recent Android Canary 2602 release, enhancements to Advanced Protection Mode now allow it to target apps utilizing the Accessibility Service API that lack classification as Accessibility Tools. This update effectively disables their access to the API as part of a comprehensive security solution.

When Advanced Protection Mode is disabled, users retain the ability to grant accessibility permissions to any app. However, once activated, the system not only prohibits users from granting these permissions to non-Accessibility Tools but also revokes any permissions previously granted. This proactive approach ensures that only those applications designed to assist users with disabilities can access the AccessibilityService API.

In practical terms, when Advanced Protection Mode is enabled, apps like dynamicSpot will be grayed out, indicating that they have been “Restricted by Advanced Protection.” If an app relies heavily on the Accessibility Service API, it will cease to function under these new restrictions. Notably, applications classified as Accessibility Tools remain unaffected by this change, allowing them to operate as intended.

This strategic shift positions Android to treat non-Accessibility Tools as incompatible with a secure environment, aligning perfectly with the core principles of Advanced Protection Mode. Users are presented with a choice: they can trade some convenience and functionality for enhanced security—a worthy exchange for those in need of robust protection. While Google has yet to officially announce this update, its presence in Android Canary suggests it may be included in the forthcoming stable release of Android 17.

⚠️ It’s important to note that an APK teardown can provide insights into potential future features based on ongoing code development, though there is no guarantee that these features will reach public release.

AppWizard
Android's Advanced Protection Mode now targets your favorite customization, automation apps