You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(architecture): move business logic from frontend to backend
BREAKING: Activity filtering and launch behavior now handled by backend
## Backend Changes
- Add ActivityInfo fields: canLaunchWithoutRoot, hasLauncherIntent
- Add AppActivityFilter model for server-side filtering
- Implement isHiddenActivity() to filter test/debug/internal activities
- Update scanAppActivities() to accept filter parameters
- Implement mode-aware launchActivity() (Intent vs shell am start)
## Frontend Changes
- Remove all filtering logic from ActivityLauncher component
- Delegate filtering to backend via bridge.getActivities(filter)
- Add warning badges for non-exported activities in NONE mode
- Update TypeScript types to match new backend models
## Benefits
- Reduced JSON payload (filtered at source)
- No heavy frontend computations
- Better separation of concerns (backend = logic, frontend = presentation)
- Mode-aware launch behavior (NONE vs ROOT/SHIZUKU)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments