Skip to content

feat: Add SuperUser global one-click exclusion feature#1309

Open
matsuzaka-yuki wants to merge 1 commit intobmax121:mainfrom
matsuzaka-yuki:feat/superuser-batch-exclude
Open

feat: Add SuperUser global one-click exclusion feature#1309
matsuzaka-yuki wants to merge 1 commit intobmax121:mainfrom
matsuzaka-yuki:feat/superuser-batch-exclude

Conversation

@matsuzaka-yuki
Copy link
Contributor

Feature Description

Add SuperUser global one-click exclusion feature that allows users to quickly exclude all unauthorized applications with a single tap.

Changes Made

  • Added excludeAll() method in SuperUserViewModel to exclude all unauthorized applications
  • Added reverseExcludeAll() method to toggle exclusion status for all applications
  • Updated application list sorting logic to ensure excluded applications are properly sorted
  • Enhanced user experience with batch operations

Testing Steps

  1. Open APatch application
  2. Navigate to SuperUser management interface
  3. Test "Global Exclude" functionality
  4. Test "Reverse Global Exclude" functionality
  5. Verify that exclusion status is correctly saved and displayed

Compatibility

  • Fully compatible with existing functionality
  • Does not affect existing application permission settings
  • Maintains backward compatibility

Additional Information

Migrated from FolkPatch project to bring this useful feature to APatch

<string name="su_hide_system_apps">Hide system apps</string>
<string name="su_refresh">Refresh</string>
<string name="su_batch_exclude_title">Batch Exclude</string>
<string name="su_batch_exclude_content">Exclude injection for all non-ROOT apps, please select an action</string>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact it's all modifications, but not scoped to injection imo.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants