1. Added Marquee in required locations.#391
Merged
sameerasw merged 4 commits intoMay 12, 2026
Merged
Conversation
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]](diffhunk://#diff-3034452163f09f9c5b913dccd6f93b4a3fefaf773460d401d8904f6f151eb1a7R225-R227) [[2]](diffhunk://#diff-3034452163f09f9c5b913dccd6f93b4a3fefaf773460d401d8904f6f151eb1a7R486-R529) [[3]](diffhunk://#diff-3034452163f09f9c5b913dccd6f93b4a3fefaf773460d401d8904f6f151eb1a7L604-R652) * 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]](diffhunk://#diff-dd3d9f46d2b3a6d22fe1e3d6c01d0731ea48d3f11f5890898dde2d0e7f40ce60R72) [[2]](diffhunk://#diff-dd3d9f46d2b3a6d22fe1e3d6c01d0731ea48d3f11f5890898dde2d0e7f40ce60R274) [[3]](diffhunk://#diff-dd3d9f46d2b3a6d22fe1e3d6c01d0731ea48d3f11f5890898dde2d0e7f40ce60R417) [[4]](diffhunk://#diff-dd3d9f46d2b3a6d22fe1e3d6c01d0731ea48d3f11f5890898dde2d0e7f40ce60R684-R691) * Added the Shut-Up! feature to the `FeatureRegistry` and registered its required permissions in the `PermissionRegistry`. [[1]](diffhunk://#diff-24845de72ed4d362c708778c76734f4c7ebe02be324274ede2d7bfcc2bbfd23dR108-R122) [[2]](diffhunk://#diff-b1f1d547c9026cdc9d71b988988d5b536d7b0aad6cabde798889fb8abc00d6c6R94-R98) **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]](diffhunk://#diff-a5e6669ac2192c53743b62db83331037514deb5b8bad39a5fbf12da11f3593a3R18-R30) [[2]](diffhunk://#diff-a5e6669ac2192c53743b62db83331037514deb5b8bad39a5fbf12da11f3593a3R41-R72) [[3]](diffhunk://#diff-a5e6669ac2192c53743b62db83331037514deb5b8bad39a5fbf12da11f3593a3R115) These changes collectively enable users to launch apps with sensitive settings temporarily disabled, improving privacy and security when using untrusted or critical applications.
Owner
|
Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added the marquee in SegmentedPicker.kt, and EssentialsFloatingToolbar.kt.