Skip to content

Add bulk exclude/include all apps from tracker monitoring#544

Open
kasnder wants to merge 2 commits intomasterfrom
claude/exclude-all-trackers-4RjVP
Open

Add bulk exclude/include all apps from tracker monitoring#544
kasnder wants to merge 2 commits intomasterfrom
claude/exclude-all-trackers-4RjVP

Conversation

@kasnder
Copy link
Copy Markdown
Member

@kasnder kasnder commented Apr 4, 2026

Summary

Addresses #522 — users with many installed apps currently must configure tracker monitoring one app at a time, which is impractical.

This adds two actions in Advanced Settings (for experts):

  • Exclude all apps from tracking — bulk-disables tracker monitoring for all installed apps, so users can then selectively re-enable the ones they care about
  • Include all apps in tracking — resets all apps back to monitored (the default)

Both actions show a confirmation dialog before proceeding. Both are hidden in minimal blocking mode, where per-app tracker toggles don't apply.

Changes

  • preferences.xml: Two new Preference buttons in the advanced options screen
  • ActivitySettings.java: Click handlers with confirmation dialogs + setTrackerProtectionForAll() helper that bulk-writes the tracker_protect SharedPreferences and reloads the VPN service
  • strings.xml: Labels and summaries for the new actions

Design decisions

  • Placed in advanced settings rather than the main screen to avoid encouraging users to disable protection — tracker monitoring stays on by default for all apps
  • Uses the existing Util.areYouSure() confirmation pattern
  • Reuses Rule.getPackages() to enumerate installed apps

Test plan

  • Open Settings > Advanced options and verify both new buttons appear
  • Tap "Exclude all apps from tracking" → confirm → verify all apps show as unprotected in the main list
  • Tap "Include all apps in tracking" → confirm → verify all apps show as protected again
  • Switch to minimal blocking mode and verify both buttons are hidden
  • Verify newly installed apps after an "exclude all" still default to protected

https://claude.ai/code/session_01Su29k626TdMqFnnNX8iAGK

claude and others added 2 commits April 4, 2026 08:58
Adds two actions in Advanced Settings to disable or re-enable tracker
monitoring for all installed apps at once. This addresses the pain point
in #522 where users with many apps must configure each one individually.

Both actions show a confirmation dialog before proceeding. The options
are hidden in minimal blocking mode where per-app tracker toggles are
not applicable.

https://claude.ai/code/session_01Su29k626TdMqFnnNX8iAGK
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