Skip to content

Develop - Shut up!#408

Merged
sameerasw merged 3 commits into
mainfrom
develop
May 9, 2026
Merged

Develop - Shut up!#408
sameerasw merged 3 commits into
mainfrom
develop

Conversation

@sameerasw
Copy link
Copy Markdown
Owner

This pull request introduces the new "Shut-Up!" feature, which allows users to temporarily disable sensitive Android developer and debugging settings for selected apps, and then restore them after use. The implementation includes a new shortcut activity, configuration management, UI integration, and background handling for automated app freezing and settings restoration.

The most important changes are:

Shut-Up! Feature Implementation

  • Added new ShutUpShortcutActivity (ShutUpShortcutActivity.kt) that disables developer options, USB debugging, wireless debugging, and optionally accessibility services for a selected app before launching it, and saves/restores original settings as needed. It also handles unfreezing the app if necessary.
  • Introduced the ShutUpAppConfig data model to represent per-app configuration for the Shut-Up! feature.
  • Extended SettingsRepository with methods to save, load, and update Shut-Up! configs and original settings, and added new preference keys for storing these. [1] [2] [3]
  • Registered the new ShutUpShortcutActivity in AndroidManifest.xml with appropriate attributes for shortcut launching.

UI and Feature Registry Integration

  • Integrated the Shut-Up! feature into the settings UI (FeatureSettingsActivity.kt), including permission checks, UI composable (ShutUpSettingsUI), and display logic. [1] [2] [3] [4]
  • Added the Shut-Up! feature to the FeatureRegistry and registered its required permissions in the PermissionRegistry. [1] [2]

Background and Automation Handling

  • Updated AppFlowHandler to support background handling for the Shut-Up! feature, including broadcast receivers for freezing/unfreezing apps and restoring settings after app usage. [1] [2] [3]

These changes collectively enable users to launch apps with sensitive settings temporarily disabled, improving privacy and security when using untrusted or critical applications.

@sameerasw sameerasw self-assigned this May 9, 2026
@sameerasw sameerasw added the enhancement New feature or request label May 9, 2026
@sameerasw sameerasw merged commit a94b62c into main May 9, 2026
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Essentials Progress May 9, 2026
@tashilapathum
Copy link
Copy Markdown

Yo the 'Shut-Up' feature is a godsend for us Android devs. Keep up the good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants